Author: amilas
Date: Tue Feb 26 05:56:32 2008
New Revision: 631216

URL: http://svn.apache.org/viewvc?rev=631216&view=rev
Log:
serializing the complex type annotations

Modified:
    
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java

Modified: 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java?rev=631216&r1=631215&r2=631216&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java
 (original)
+++ 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java
 Tue Feb 26 05:56:32 2008
@@ -932,6 +932,12 @@
             serializedComplexType.appendChild(complexContent);
         }
 
+        if (complexTypeObj.annotation != null) {
+            Element annotationEl = serializeAnnotation(doc,
+                    complexTypeObj.annotation, schema);
+            serializedComplexType.appendChild(annotationEl);
+        }
+
         if (complexTypeObj.particle instanceof XmlSchemaSequence) {
             Element sequence = serializeSequence(doc,
                     (XmlSchemaSequence) complexTypeObj.particle, schema);



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to