Skip to Content.
Sympa Menu

notify-dpml - r1232 - in trunk/main: metro/builder/src/main/net/dpml/metro/builder transit/core/src/main/net/dpml/part transit/core/src/main/net/dpml/transit/info

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1232 - in trunk/main: metro/builder/src/main/net/dpml/metro/builder transit/core/src/main/net/dpml/part transit/core/src/main/net/dpml/transit/info
  • Date: Mon, 20 Mar 2006 12:08:09 +0100

Author: mcconnell
Date: 2006-03-20 12:08:08 +0100 (Mon, 20 Mar 2006)
New Revision: 1232

Modified:

trunk/main/metro/builder/src/main/net/dpml/metro/builder/ComponentConstants.java
trunk/main/transit/core/src/main/net/dpml/part/DecoderFactory.java
trunk/main/transit/core/src/main/net/dpml/part/PartDecoder.java
trunk/main/transit/core/src/main/net/dpml/part/PartEncoder.java
trunk/main/transit/core/src/main/net/dpml/part/PartStrategyDecoder.java
trunk/main/transit/core/src/main/net/dpml/part/PartStrategyEncoder.java
trunk/main/transit/core/src/main/net/dpml/part/ValueDecoder.java
trunk/main/transit/core/src/main/net/dpml/part/ValueEncoder.java

trunk/main/transit/core/src/main/net/dpml/transit/info/CodeBaseDirective.java
trunk/main/transit/core/src/main/net/dpml/transit/info/LayoutDirective.java
Log:
housekeeping

Modified:
trunk/main/metro/builder/src/main/net/dpml/metro/builder/ComponentConstants.java
===================================================================
---
trunk/main/metro/builder/src/main/net/dpml/metro/builder/ComponentConstants.java
2006-03-20 10:12:15 UTC (rev 1231)
+++
trunk/main/metro/builder/src/main/net/dpml/metro/builder/ComponentConstants.java
2006-03-20 11:08:08 UTC (rev 1232)
@@ -31,6 +31,10 @@
static final URI CONTROLLER_URI = createURI( "@CONTROLLER-URI@" );
static final URI BUILDER_URI = createURI( "@BUILDER-URI@" );

+ ComponentConstants()
+ {
+ }
+
private static URI createURI( String spec )
{
try

Modified: trunk/main/transit/core/src/main/net/dpml/part/DecoderFactory.java
===================================================================
--- trunk/main/transit/core/src/main/net/dpml/part/DecoderFactory.java
2006-03-20 10:12:15 UTC (rev 1231)
+++ trunk/main/transit/core/src/main/net/dpml/part/DecoderFactory.java
2006-03-20 11:08:08 UTC (rev 1232)
@@ -88,7 +88,8 @@
*
* @param uri the encoder uri
* @return the encoder
- * @exception Exception if an eror occurs
+ * @exception IOException if an IO error occurs
+ * @exception InvocationTargetException if the encoder plugin raises an
instantiation error
*/
public static Encoder loadEncoder( URI uri ) throws IOException,
InvocationTargetException
{

Modified: trunk/main/transit/core/src/main/net/dpml/part/PartDecoder.java
===================================================================
--- trunk/main/transit/core/src/main/net/dpml/part/PartDecoder.java
2006-03-20 10:12:15 UTC (rev 1231)
+++ trunk/main/transit/core/src/main/net/dpml/part/PartDecoder.java
2006-03-20 11:08:08 UTC (rev 1232)
@@ -20,14 +20,11 @@

import java.io.IOException;
import java.net.URI;
-import java.util.Map;

import net.dpml.lang.Classpath;
import net.dpml.lang.Decoder;
import net.dpml.lang.DecodingException;

-import net.dpml.transit.Transit;
-import net.dpml.transit.Repository;
import net.dpml.transit.util.ElementHelper;

import org.w3c.dom.Document;
@@ -109,7 +106,7 @@
* @param classloader the classloader
* @param element the dom element
* @return the part definition
- * @exception Exception if an error occurs
+ * @exception DecodingException if an error occurs during element
evaluation
*/
public Object decode( ClassLoader classloader, Element element ) throws
DecodingException
{
@@ -138,7 +135,7 @@
* @param base the classloader
* @param root the dom element
* @return the part definition
- * @exception Exception if an error occurs
+ * @exception DecodingException if an error occurs during element
evaluation
*/
public Part decodePart( ClassLoader base, Element root ) throws
DecodingException
{
@@ -210,7 +207,7 @@
* Construct the classpath defintion.
* @param root the element containing a 'classpath' element.
* @return the classpath defintion
- * @exception Exception if an error occurs
+ * @exception DecodingException if an error occurs during element
evaluation
*/
protected Classpath getClasspath( Element root ) throws DecodingException
{

Modified: trunk/main/transit/core/src/main/net/dpml/part/PartEncoder.java
===================================================================
--- trunk/main/transit/core/src/main/net/dpml/part/PartEncoder.java
2006-03-20 10:12:15 UTC (rev 1231)
+++ trunk/main/transit/core/src/main/net/dpml/part/PartEncoder.java
2006-03-20 11:08:08 UTC (rev 1232)
@@ -23,7 +23,6 @@
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.net.URI;
-import java.util.Map;

import javax.xml.XMLConstants;


Modified:
trunk/main/transit/core/src/main/net/dpml/part/PartStrategyDecoder.java
===================================================================
--- trunk/main/transit/core/src/main/net/dpml/part/PartStrategyDecoder.java
2006-03-20 10:12:15 UTC (rev 1231)
+++ trunk/main/transit/core/src/main/net/dpml/part/PartStrategyDecoder.java
2006-03-20 11:08:08 UTC (rev 1232)
@@ -18,8 +18,6 @@

package net.dpml.part;

-import java.util.Map;
-
import net.dpml.lang.Value;
import net.dpml.lang.Decoder;
import net.dpml.lang.DecodingException;

Modified:
trunk/main/transit/core/src/main/net/dpml/part/PartStrategyEncoder.java
===================================================================
--- trunk/main/transit/core/src/main/net/dpml/part/PartStrategyEncoder.java
2006-03-20 10:12:15 UTC (rev 1231)
+++ trunk/main/transit/core/src/main/net/dpml/part/PartStrategyEncoder.java
2006-03-20 11:08:08 UTC (rev 1232)
@@ -20,7 +20,6 @@

import java.io.Writer;
import java.io.IOException;
-import java.util.Map;

import net.dpml.lang.Value;
import net.dpml.lang.Encoder;
@@ -33,7 +32,7 @@
*/
public class PartStrategyEncoder implements Encoder
{
- private ValueEncoder VALUE_ENCODER = new ValueEncoder();
+ private static final ValueEncoder VALUE_ENCODER = new ValueEncoder();

/**
* Externalize a object to XML.

Modified: trunk/main/transit/core/src/main/net/dpml/part/ValueDecoder.java
===================================================================
--- trunk/main/transit/core/src/main/net/dpml/part/ValueDecoder.java
2006-03-20 10:12:15 UTC (rev 1231)
+++ trunk/main/transit/core/src/main/net/dpml/part/ValueDecoder.java
2006-03-20 11:08:08 UTC (rev 1232)
@@ -18,8 +18,6 @@

package net.dpml.part;

-import java.util.Map;
-
import net.dpml.lang.Value;
import net.dpml.lang.Construct;
import net.dpml.transit.util.ElementHelper;

Modified: trunk/main/transit/core/src/main/net/dpml/part/ValueEncoder.java
===================================================================
--- trunk/main/transit/core/src/main/net/dpml/part/ValueEncoder.java
2006-03-20 10:12:15 UTC (rev 1231)
+++ trunk/main/transit/core/src/main/net/dpml/part/ValueEncoder.java
2006-03-20 11:08:08 UTC (rev 1232)
@@ -20,7 +20,6 @@

import java.io.Writer;
import java.io.IOException;
-import java.util.Map;

import net.dpml.lang.Value;
import net.dpml.lang.Construct;

Modified:
trunk/main/transit/core/src/main/net/dpml/transit/info/CodeBaseDirective.java
===================================================================
---
trunk/main/transit/core/src/main/net/dpml/transit/info/CodeBaseDirective.java
2006-03-20 10:12:15 UTC (rev 1231)
+++
trunk/main/transit/core/src/main/net/dpml/transit/info/CodeBaseDirective.java
2006-03-20 11:08:08 UTC (rev 1232)
@@ -19,7 +19,6 @@
package net.dpml.transit.info;

import java.net.URI;
-import java.net.URISyntaxException;
import java.util.Arrays;

import net.dpml.lang.AbstractDirective;
@@ -41,7 +40,6 @@
* Creation of a new codebase descriptor.
* @param codebase the codebase uri
* @param parameters an array of plugin parameter descriptors
- * @exception URISyntaxException if the codebase URI is invalid
*/
public CodeBaseDirective( URI codebase, ValueDirective[] parameters )
{

Modified:
trunk/main/transit/core/src/main/net/dpml/transit/info/LayoutDirective.java
===================================================================
---
trunk/main/transit/core/src/main/net/dpml/transit/info/LayoutDirective.java
2006-03-20 10:12:15 UTC (rev 1231)
+++
trunk/main/transit/core/src/main/net/dpml/transit/info/LayoutDirective.java
2006-03-20 11:08:08 UTC (rev 1232)
@@ -40,7 +40,6 @@
* @param title the handler title
* @param codebase the codebase uri
* @param parameters an array of plugin parameter descriptors
- * @exception URISyntaxException if the codebase URI is invalid
* @exception NullPointerException if the id is null
*/
public LayoutDirective(




  • r1232 - in trunk/main: metro/builder/src/main/net/dpml/metro/builder transit/core/src/main/net/dpml/part transit/core/src/main/net/dpml/transit/info, mcconnell at BerliOS, 03/20/2006

Archive powered by MHonArc 2.6.24.

Top of Page