cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r936236 - /cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java
Date Wed, 21 Apr 2010 09:58:21 GMT
Author: simonetripodi
Date: Wed Apr 21 09:58:21 2010
New Revision: 936236

URL: http://svn.apache.org/viewvc?rev=936236&view=rev
Log:
added toString method implementation

Modified:
    cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java

Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java?rev=936236&r1=936235&r2=936236&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java
Wed Apr 21 09:58:21 2010
@@ -25,6 +25,7 @@ import javax.xml.bind.Marshaller;
 import org.apache.cocoon.pipeline.ProcessingException;
 import org.apache.cocoon.pipeline.caching.CacheKey;
 import org.apache.cocoon.pipeline.component.CachingPipelineComponent;
+import org.apache.cocoon.pipeline.util.StringRepresentation;
 import org.apache.cocoon.sax.AbstractSAXGenerator;
 
 /**
@@ -56,4 +57,9 @@ public final class JAXBGenerator extends
                     + " to XML", e);
         }
     }
+
+    @Override
+    public String toString() {
+        return StringRepresentation.buildString(this, "toBeMarshalled=" + this.toBeMarshalled);
+    }
 }



Mime
View raw message