org.apache.ws.commons.schema
Class XmlSchemaSerializer

java.lang.Object
  extended byorg.apache.ws.commons.schema.XmlSchemaSerializer

public class XmlSchemaSerializer
extends java.lang.Object


Nested Class Summary
static class XmlSchemaSerializer.XmlSchemaSerializerException
           
 
Field Summary
static java.lang.String xsdNamespace
           
 
Method Summary
static org.w3c.dom.Document[] serializeSchema(XmlSchema schemaObj, boolean serializeIncluded)
          ********************************************************************* Document[] serializeSchema(XmlSchema schemaObj, boolean serializeIncluded)

Serialize XmlSchema object pass back the document containing a schema element as its root.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xsdNamespace

public static final java.lang.String xsdNamespace
See Also:
Constant Field Values
Method Detail

serializeSchema

public static org.w3c.dom.Document[] serializeSchema(XmlSchema schemaObj,
                                                     boolean serializeIncluded)
                                              throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Document[] serializeSchema(XmlSchema schemaObj, boolean serializeIncluded)

Serialize XmlSchema object pass back the document containing a schema element as its root.

Parameter: schemaObj - Schema object to serialize. serialzeIncluded - whether to serialize the included(imported) schema or not. pass true for serialize all included schema.

Return: Array of Documents that include/imported. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException