org.apache.ws.commons.schema
Class XmlSchemaSerializer

java.lang.Object
  extended by org.apache.ws.commons.schema.XmlSchemaSerializer

public class XmlSchemaSerializer
extends java.lang.Object


Nested Class Summary
static class XmlSchemaSerializer.XmlSchemaSerializerException
           
 
Field Summary
(package private)  java.util.ArrayList docs
           
(package private)  org.w3c.dom.Element schemaElement
           
static java.lang.String xsdNamespace
           
(package private) static java.lang.String xsdPrefix
           
 
Method Summary
(package private)  org.w3c.dom.Element serializeAll(org.w3c.dom.Document doc, XmlSchemaAll allObj, XmlSchema schema)
          ********************************************************************* Element serializeAll(Document doc, XmlSchemaAll allObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeAnnotation(org.w3c.dom.Document doc, XmlSchemaAnnotation annotationObj, XmlSchema schema)
          ********************************************************************* Element serializeAnnotation(Document doc, XmlSchemaAnnotation annotationObj, XmlSchema schema)

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeAny(org.w3c.dom.Document doc, XmlSchemaAny anyObj, XmlSchema schema)
          ********************************************************************* Element serializeAny(Document doc, XmlSchemaAny anyObj, XmlSchema schema)

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeAnyAttribute(org.w3c.dom.Document doc, XmlSchemaAnyAttribute anyAttributeObj, XmlSchema schema)
          ********************************************************************* Element serializeAnyAttribute(Document doc, XmlSchemaAnyAttribute anyAttributeObj, XmlSchema schema)

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeAppInfo(org.w3c.dom.Document doc, XmlSchemaAppInfo appInfoObj, XmlSchema schema)
          ********************************************************************* Element serializeAppInfo(Document doc,XmlSchemaAppInfo appInfoObj, XmlSchema schema)

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeAttribute(org.w3c.dom.Document doc, XmlSchemaAttribute attributeObj, XmlSchema schema)
          ********************************************************************* Element serializeAttribute(Document doc, XmlSchemaAttribute attributeObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeAttributeGroup(org.w3c.dom.Document doc, XmlSchemaAttributeGroup attributeGroupObj, XmlSchema schema)
          ********************************************************************* Element serializeAttributeGroup(Document doc, XmlSchemaAttributeGroup attributeGroupObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeAttributeGroupRef(org.w3c.dom.Document doc, XmlSchemaAttributeGroupRef attributeGroupObj, XmlSchema schema)
          ********************************************************************* Element serializeAttributeGroupRef(Document doc, XmlSchemaAttributeGroupRef attributeGroupObj, XmlSchema schema) throws XmlSchemaSerializerException

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeChoice(org.w3c.dom.Document doc, XmlSchemaChoice choiceObj, XmlSchema schema)
          ********************************************************************* Element serializeChoice(Document doc, XmlSchemaChoice choiceObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeComplexContent(org.w3c.dom.Document doc, XmlSchemaComplexContent complexContentObj, XmlSchema schema)
          ********************************************************************* Element serializeComplexContent(Document doc, XmlSchemaComplexContent complexContentObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeComplexContentExtension(org.w3c.dom.Document doc, XmlSchemaComplexContentExtension extensionObj, XmlSchema schema)
          ********************************************************************* Element serializeComplexContentExtension(Document doc, XmlSchemaComplexContentExtension extensionObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeComplexContentRestriction(org.w3c.dom.Document doc, XmlSchemaComplexContentRestriction restrictionObj, XmlSchema schema)
          ********************************************************************* Element serializeComplexContentRestriction(Document doc, XmlSchemaComplexContentRestriction restrictionObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeComplexType(org.w3c.dom.Document doc, XmlSchemaComplexType complexTypeObj, XmlSchema schema)
          ********************************************************************* Element serializeComplexType(Document doc, XmlSchemaComplexType complexTypeObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeDocumentation(org.w3c.dom.Document doc, XmlSchemaDocumentation documentationObj, XmlSchema schema)
          ********************************************************************* Element serializeDocumentation(Document doc,XmlSchemaDocumentation documentationObj, XmlSchema schema){

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeElement(org.w3c.dom.Document doc, XmlSchemaElement elementObj, XmlSchema schema)
          ********************************************************************* Element serializeElement(Document doc, XmlSchemaElement elementObj, XmlSchema schema) throws XmlSchemaSerializerException

Each member of Element will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeFacet(org.w3c.dom.Document doc, XmlSchemaFacet facetObj, XmlSchema schema)
          ********************************************************************* Element serializeFacet(Document doc, XmlSchemaFacet facetObj, XmlSchema schema) throws XmlSchemaSerializerException{

detect what type of facet and cass appropriatelly, construct the element and pass it.

(package private)  org.w3c.dom.Element serializeField(org.w3c.dom.Document doc, XmlSchemaXPath fieldObj, XmlSchema schema)
          ********************************************************************* Element serializeField(Document doc, XmlSchemaXPath fieldObj, XmlSchema schema) throws XmlSchemaSerializerException

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeGroup(org.w3c.dom.Document doc, XmlSchemaGroup groupObj, XmlSchema schema)
          ********************************************************************* Element serializeGroup(Document doc, XmlSchemaGroup groupObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeGroupRef(org.w3c.dom.Document doc, XmlSchemaGroupRef groupRefObj, XmlSchema schema)
          ********************************************************************* Element serializeGroupRef(Document doc, XmlSchemaGroupRef groupRefObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeIdentityConstraint(org.w3c.dom.Document doc, XmlSchemaIdentityConstraint constraintObj, XmlSchema schema)
          ********************************************************************* Element serializeIdentityConstraint(Document doc, XmlSchemaIdentityConstraint constraintObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeImport(org.w3c.dom.Document doc, XmlSchemaImport importObj, XmlSchema schema, boolean serializeIncluded)
          ********************************************************************* Element serializeImport(Document doc, XmlSchemaImport importObj, XmlSchema schema)throws XmlSchemaSerializerException

Add each of the attribute of XmlSchemaImport obj into import Element Then serialize schema that is included by this import.

(package private)  org.w3c.dom.Element serializeInclude(org.w3c.dom.Document doc, XmlSchemaInclude includeObj, XmlSchema schema, boolean serializeIncluded)
          ********************************************************************* Element serializeInclude(Document doc, XmlSchemaInclude includeObj, XmlSchema schema)throws XmlSchemaSerializerException

set appropriate attribute as per this object attribute availability.

(package private)  org.w3c.dom.Element serializeRedefine(org.w3c.dom.Document doc, XmlSchemaRedefine redefineObj, XmlSchema schema)
          ********************************************************************* Element serializeRedefine(Document doc, XmlSchemaRedefine redefineObj, XmlSchema schema)throws XmlSchemaSerializerException

Add each of the attribute of XmlSchemaImport obj into import Element Then serialize schema that is included by this import.

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.

(package private)  org.w3c.dom.Document[] serializeSchemaElement(XmlSchema schemaObj, boolean serializeIncluded)
           
(package private)  org.w3c.dom.Element serializeSelector(org.w3c.dom.Document doc, XmlSchemaXPath selectorObj, XmlSchema schema)
          ********************************************************************* Element serializeSelector(Document doc, XmlSchemaXPath selectorObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeSequence(org.w3c.dom.Document doc, XmlSchemaSequence sequenceObj, XmlSchema schema)
          ********************************************************************* Element serializeSequence(Document doc, XmlSchemaSequence sequenceObj, XmlSchema schema)throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeSimpleContent(org.w3c.dom.Document doc, XmlSchemaSimpleContent simpleContentObj, XmlSchema schema)
          ********************************************************************* Element serializeSimpleContent(Document doc, XmlSchemaSimpleContent simpleContentObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeSimpleContentExtension(org.w3c.dom.Document doc, XmlSchemaSimpleContentExtension extensionObj, XmlSchema schema)
          ********************************************************************* Element serializeSimpleContentExtension(Document doc, XmlSchemaSimpleContentExtension extensionObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeSimpleContentRestriction(org.w3c.dom.Document doc, XmlSchemaSimpleContentRestriction restrictionObj, XmlSchema schema)
          ********************************************************************* Element serializeSimpleContentRestriction(Document doc, XmlSchemaSimpleContentRestriction restrictionObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeSimpleType(org.w3c.dom.Document doc, XmlSchemaSimpleType simpleTypeObj, XmlSchema schema)
          ********************************************************************* Element serializeSimpleType(Document doc, XmlSchemaSimpleType simpleTypeObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of simple type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeSimpleTypeList(org.w3c.dom.Document doc, XmlSchemaSimpleTypeList listObj, XmlSchema schema)
          ********************************************************************* Element serializeSimpleTypeList(Document doc, XmlSchemaSimpleTypeList listObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeSimpleTypeRestriction(org.w3c.dom.Document doc, XmlSchemaSimpleTypeRestriction restrictionObj, XmlSchema schema)
          ********************************************************************* Element serializeSimpleTypeRestriction(Document doc, XmlSchemaSimpleTypeRestriction restrictionObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of simple type will be appended and pass the element created.

(package private)  org.w3c.dom.Element serializeSimpleTypeUnion(org.w3c.dom.Document doc, XmlSchemaSimpleTypeUnion unionObj, XmlSchema schema)
          ********************************************************************* Element serializeSimpleTypeUnion(Document doc, XmlSchemaSimpleTypeUnion unionObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created.

(package private)  void setupAttr(org.w3c.dom.Document doc, XmlSchemaObjectCollection collectionObj, XmlSchema schema, org.w3c.dom.Element container)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xsdPrefix

static java.lang.String xsdPrefix

xsdNamespace

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

docs

java.util.ArrayList docs

schemaElement

org.w3c.dom.Element schemaElement
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

serializeSchemaElement

org.w3c.dom.Document[] serializeSchemaElement(XmlSchema schemaObj,
                                              boolean serializeIncluded)
                                        throws XmlSchemaSerializer.XmlSchemaSerializerException
Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeInclude

org.w3c.dom.Element serializeInclude(org.w3c.dom.Document doc,
                                     XmlSchemaInclude includeObj,
                                     XmlSchema schema,
                                     boolean serializeIncluded)
                               throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeInclude(Document doc, XmlSchemaInclude includeObj, XmlSchema schema)throws XmlSchemaSerializerException

set appropriate attribute as per this object attribute availability. Call included schema to append to this schema document collection. Then add the document created into document pool.

Parameter: doc - Document the parent use. includeObj - XmlSchemaInclude that will be serialized. schema - Schema Document object of the parent.

Return: Element object representation of XmlSchemaInclude **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeImport

org.w3c.dom.Element serializeImport(org.w3c.dom.Document doc,
                                    XmlSchemaImport importObj,
                                    XmlSchema schema,
                                    boolean serializeIncluded)
                              throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeImport(Document doc, XmlSchemaImport importObj, XmlSchema schema)throws XmlSchemaSerializerException

Add each of the attribute of XmlSchemaImport obj into import Element Then serialize schema that is included by this import. Include the serialized schema into document pool.

Parameter: doc - Document the parent use. includeObj - XmlSchemaInclude that will be serialized. schema - Schema Document object of the parent.

Return: Element object representation of XmlSchemaImport **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeRedefine

org.w3c.dom.Element serializeRedefine(org.w3c.dom.Document doc,
                                      XmlSchemaRedefine redefineObj,
                                      XmlSchema schema)
                                throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeRedefine(Document doc, XmlSchemaRedefine redefineObj, XmlSchema schema)throws XmlSchemaSerializerException

Add each of the attribute of XmlSchemaImport obj into import Element Then serialize schema that is included by this import. Include the serialized schema into document pool.

Parameter: doc - Document the parent use. redefineObj - XmlSchemaInclude that will be serialized. schema - Schema Document object of the parent.

Return: Element object representation of XmlSchemaRedefine **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeElement

org.w3c.dom.Element serializeElement(org.w3c.dom.Document doc,
                                     XmlSchemaElement elementObj,
                                     XmlSchema schema)
                               throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeElement(Document doc, XmlSchemaElement elementObj, XmlSchema schema) throws XmlSchemaSerializerException

Each member of Element will be appended and pass the element created. Element processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. elementObj - XmlSchemaInclude that will be serialized. schema - Schema Document object of the parent.

Return: Element object of element. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeSimpleType

org.w3c.dom.Element serializeSimpleType(org.w3c.dom.Document doc,
                                        XmlSchemaSimpleType simpleTypeObj,
                                        XmlSchema schema)
                                  throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeSimpleType(Document doc, XmlSchemaSimpleType simpleTypeObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of simple type will be appended and pass the element created. Simple type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. simpleTypeObj - XmlSchemaSimpleType that will be serialized. schema - Schema Document object of the parent.

Return: Element object of SimpleType **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeSimpleTypeRestriction

org.w3c.dom.Element serializeSimpleTypeRestriction(org.w3c.dom.Document doc,
                                                   XmlSchemaSimpleTypeRestriction restrictionObj,
                                                   XmlSchema schema)
                                             throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeSimpleTypeRestriction(Document doc, XmlSchemaSimpleTypeRestriction restrictionObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of simple type will be appended and pass the element created. Simple type's processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. restrictionObj - XmlSchemaRestriction that will be serialized. schema - Schema Document object of the parent.

Return: Element of simple type restriction and its child. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeFacet

org.w3c.dom.Element serializeFacet(org.w3c.dom.Document doc,
                                   XmlSchemaFacet facetObj,
                                   XmlSchema schema)
                             throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeFacet(Document doc, XmlSchemaFacet facetObj, XmlSchema schema) throws XmlSchemaSerializerException{

detect what type of facet and cass appropriatelly, construct the element and pass it.

Parameter: doc - Document the parent use. facetObj - XmlSchemaFacet that will be serialized. schema - Schema Document object of the parent.

Return: Element of simple type with facet. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeComplexType

org.w3c.dom.Element serializeComplexType(org.w3c.dom.Document doc,
                                         XmlSchemaComplexType complexTypeObj,
                                         XmlSchema schema)
                                   throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeComplexType(Document doc, XmlSchemaComplexType complexTypeObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. complexTypeObj - XmlSchemaFacet that will be serialized. schema - Schema Document object of the parent.

Return: Element of complexType. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeSequence

org.w3c.dom.Element serializeSequence(org.w3c.dom.Document doc,
                                      XmlSchemaSequence sequenceObj,
                                      XmlSchema schema)
                                throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeSequence(Document doc, XmlSchemaSequence sequenceObj, XmlSchema schema)throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. `Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. sequenceObj - XmlSchemaFacet that will be serialized. schema - Schema Document object of the parent.

Return: Element of sequence particle. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeAttribute

org.w3c.dom.Element serializeAttribute(org.w3c.dom.Document doc,
                                       XmlSchemaAttribute attributeObj,
                                       XmlSchema schema)
                                 throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeAttribute(Document doc, XmlSchemaAttribute attributeObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. `Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. attributeObj - XmlSchemaAttribute that will be serialized. schema - Schema Document object of the parent.

Return: Element of attribute. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeChoice

org.w3c.dom.Element serializeChoice(org.w3c.dom.Document doc,
                                    XmlSchemaChoice choiceObj,
                                    XmlSchema schema)
                              throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeChoice(Document doc, XmlSchemaChoice choiceObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. choiceObj - XmlSchemaChoice that will be serialized. schema - Schema Document object of the parent.

Return: Element of choice schema object. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeAll

org.w3c.dom.Element serializeAll(org.w3c.dom.Document doc,
                                 XmlSchemaAll allObj,
                                 XmlSchema schema)
                           throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeAll(Document doc, XmlSchemaAll allObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. allObj - XmlSchemaAll that will be serialized. schema - Schema Document object of the parent.

Return: Element of particle all. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeSimpleTypeList

org.w3c.dom.Element serializeSimpleTypeList(org.w3c.dom.Document doc,
                                            XmlSchemaSimpleTypeList listObj,
                                            XmlSchema schema)
                                      throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeSimpleTypeList(Document doc, XmlSchemaSimpleTypeList listObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. listObj - XmlSchemaSimpleTypeList that will be serialized. schema - Schema Document object of the parent.

Return: Element of simple type with list method. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeSimpleTypeUnion

org.w3c.dom.Element serializeSimpleTypeUnion(org.w3c.dom.Document doc,
                                             XmlSchemaSimpleTypeUnion unionObj,
                                             XmlSchema schema)
                                       throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeSimpleTypeUnion(Document doc, XmlSchemaSimpleTypeUnion unionObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. unionObj - XmlSchemaSimpleTypeUnion that will be serialized. schema - Schema Document object of the parent.

Return: Element of simple type with union method. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeAny

org.w3c.dom.Element serializeAny(org.w3c.dom.Document doc,
                                 XmlSchemaAny anyObj,
                                 XmlSchema schema)
********************************************************************* Element serializeAny(Document doc, XmlSchemaAny anyObj, XmlSchema schema)

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. anyObj - XmlSchemaAny that will be serialized. schema - Schema Document object of the parent.

Return: Element of any that is part of its parent. **********************************************************************


serializeGroup

org.w3c.dom.Element serializeGroup(org.w3c.dom.Document doc,
                                   XmlSchemaGroup groupObj,
                                   XmlSchema schema)
                             throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeGroup(Document doc, XmlSchemaGroup groupObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. groupObj - XmlSchemaGroup that will be serialized. schema - Schema Document object of the parent.

Return: Element of group elements. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeGroupRef

org.w3c.dom.Element serializeGroupRef(org.w3c.dom.Document doc,
                                      XmlSchemaGroupRef groupRefObj,
                                      XmlSchema schema)
                                throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeGroupRef(Document doc, XmlSchemaGroupRef groupRefObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. groupRefObj - XmlSchemaGroupRef that will be serialized. schema - Schema Document object of the parent.

Return: Element of group elements ref inside its parent. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeSimpleContent

org.w3c.dom.Element serializeSimpleContent(org.w3c.dom.Document doc,
                                           XmlSchemaSimpleContent simpleContentObj,
                                           XmlSchema schema)
                                     throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeSimpleContent(Document doc, XmlSchemaSimpleContent simpleContentObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. simpleContentObj - XmlSchemaSimpleContent that will be serialized. schema - Schema Document object of the parent.

Return: Element of complex type simple content. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeComplexContent

org.w3c.dom.Element serializeComplexContent(org.w3c.dom.Document doc,
                                            XmlSchemaComplexContent complexContentObj,
                                            XmlSchema schema)
                                      throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeComplexContent(Document doc, XmlSchemaComplexContent complexContentObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. complexContentObj - XmlSchemaComplexContent that will be serialized. schema - Schema Document object of the parent.

Return: Element of complex type complex content. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeIdentityConstraint

org.w3c.dom.Element serializeIdentityConstraint(org.w3c.dom.Document doc,
                                                XmlSchemaIdentityConstraint constraintObj,
                                                XmlSchema schema)
                                          throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeIdentityConstraint(Document doc, XmlSchemaIdentityConstraint constraintObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. constraintObj - XmlSchemaIdentityConstraint that will be serialized. schema - Schema Document object of the parent.

Return: Element of key, keyref or unique that part of its parent. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeSelector

org.w3c.dom.Element serializeSelector(org.w3c.dom.Document doc,
                                      XmlSchemaXPath selectorObj,
                                      XmlSchema schema)
                                throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeSelector(Document doc, XmlSchemaXPath selectorObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. selectorObj - XmlSchemaXPath that will be serialized. schema - Schema Document object of the parent.

Return: Element of selector with collection of xpath as its attrib. The selector itself is the part of identity type. eg

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeField

org.w3c.dom.Element serializeField(org.w3c.dom.Document doc,
                                   XmlSchemaXPath fieldObj,
                                   XmlSchema schema)
                             throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeField(Document doc, XmlSchemaXPath fieldObj, XmlSchema schema) throws XmlSchemaSerializerException

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. fieldObj - XmlSchemaXPath that will be serialized. schema - Schema Document object of the parent.

Return: field element that part of constraint. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeAnnotation

org.w3c.dom.Element serializeAnnotation(org.w3c.dom.Document doc,
                                        XmlSchemaAnnotation annotationObj,
                                        XmlSchema schema)
********************************************************************* Element serializeAnnotation(Document doc, XmlSchemaAnnotation annotationObj, XmlSchema schema)

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. annotationObj - XmlSchemaAnnotation that will be serialized. schema - Schema Document object of the parent.

Return: annotation element that part of any type. will contain document and appinfo for child. **********************************************************************


serializeAppInfo

org.w3c.dom.Element serializeAppInfo(org.w3c.dom.Document doc,
                                     XmlSchemaAppInfo appInfoObj,
                                     XmlSchema schema)
********************************************************************* Element serializeAppInfo(Document doc,XmlSchemaAppInfo appInfoObj, XmlSchema schema)

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. appInfoObj - XmlSchemaAppInfo that will be serialized. schema - Schema Document object of the parent.

Return: App info element that is part of the annotation. **********************************************************************


serializeDocumentation

org.w3c.dom.Element serializeDocumentation(org.w3c.dom.Document doc,
                                           XmlSchemaDocumentation documentationObj,
                                           XmlSchema schema)
********************************************************************* Element serializeDocumentation(Document doc,XmlSchemaDocumentation documentationObj, XmlSchema schema){

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. documentationObj - XmlSchemaAppInfo that will be serialized. schema - Schema Document object of the parent.

Return: Element representation of documentation that is part of annotation. **********************************************************************


serializeSimpleContentRestriction

org.w3c.dom.Element serializeSimpleContentRestriction(org.w3c.dom.Document doc,
                                                      XmlSchemaSimpleContentRestriction restrictionObj,
                                                      XmlSchema schema)
                                                throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeSimpleContentRestriction(Document doc, XmlSchemaSimpleContentRestriction restrictionObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. restrictionObj - XmlSchemaSimpleContentRestriction that will be serialized. schema - Schema Document object of the parent.

Return: Element of simple content restriction. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeSimpleContentExtension

org.w3c.dom.Element serializeSimpleContentExtension(org.w3c.dom.Document doc,
                                                    XmlSchemaSimpleContentExtension extensionObj,
                                                    XmlSchema schema)
                                              throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeSimpleContentExtension(Document doc, XmlSchemaSimpleContentExtension extensionObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. extensionObj - XmlSchemaSimpleContentExtension that will be serialized. schema - Schema Document object of the parent.

Return: Element of simple content extension. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeComplexContentRestriction

org.w3c.dom.Element serializeComplexContentRestriction(org.w3c.dom.Document doc,
                                                       XmlSchemaComplexContentRestriction restrictionObj,
                                                       XmlSchema schema)
                                                 throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeComplexContentRestriction(Document doc, XmlSchemaComplexContentRestriction restrictionObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. restrictionObj - XmlSchemaSimpleContentRestriction that will be serialized. schema - Schema Document object of the parent.

Return: Element of simple content restriction. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeComplexContentExtension

org.w3c.dom.Element serializeComplexContentExtension(org.w3c.dom.Document doc,
                                                     XmlSchemaComplexContentExtension extensionObj,
                                                     XmlSchema schema)
                                               throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeComplexContentExtension(Document doc, XmlSchemaComplexContentExtension extensionObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. extensionObj - XmlSchemaComplexContentRestriction that will be serialized. schema - Schema Document object of the parent.

Return: Element of complex content extension. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeAnyAttribute

org.w3c.dom.Element serializeAnyAttribute(org.w3c.dom.Document doc,
                                          XmlSchemaAnyAttribute anyAttributeObj,
                                          XmlSchema schema)
********************************************************************* Element serializeAnyAttribute(Document doc, XmlSchemaAnyAttribute anyAttributeObj, XmlSchema schema)

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. anyAttributeObj - XmlSchemaAnyAttribute that will be serialized. schema - Schema Document object of the parent.

Return: Element of any attribute element. **********************************************************************


serializeAttributeGroupRef

org.w3c.dom.Element serializeAttributeGroupRef(org.w3c.dom.Document doc,
                                               XmlSchemaAttributeGroupRef attributeGroupObj,
                                               XmlSchema schema)
                                         throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeAttributeGroupRef(Document doc, XmlSchemaAttributeGroupRef attributeGroupObj, XmlSchema schema) throws XmlSchemaSerializerException

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. attributeGroupObj - XmlSchemaAttributeGroupRef that will be serialized. schema - Schema Document object of the parent.

Return: Element of attribute group ref that part of type. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

serializeAttributeGroup

org.w3c.dom.Element serializeAttributeGroup(org.w3c.dom.Document doc,
                                            XmlSchemaAttributeGroup attributeGroupObj,
                                            XmlSchema schema)
                                      throws XmlSchemaSerializer.XmlSchemaSerializerException
********************************************************************* Element serializeAttributeGroup(Document doc, XmlSchemaAttributeGroup attributeGroupObj, XmlSchema schema) throws XmlSchemaSerializerException{

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. attributeGroupObj - XmlSchemaAttributeGroup that will be serialized. schema - Schema Document object of the parent.

Return: Element of attribute group. **********************************************************************

Throws:
XmlSchemaSerializer.XmlSchemaSerializerException

setupAttr

void setupAttr(org.w3c.dom.Document doc,
               XmlSchemaObjectCollection collectionObj,
               XmlSchema schema,
               org.w3c.dom.Element container)
         throws XmlSchemaSerializer.XmlSchemaSerializerException
Throws:
XmlSchemaSerializer.XmlSchemaSerializerException


Copyright 2004-2004-2006 Apache Software Foundation. All Rights Reserved.