org.apache.axis2.wsdl.codegen.schema
Class XmlSchema

java.lang.Object
  extended by org.apache.axis2.wsdl.codegen.schema.XmlSchema

public class XmlSchema
extends java.lang.Object

this class represents and schema object. it is assumed that we consider the xsd schemaa as the defualt name space.


Field Summary
static java.lang.String XMLNS_NAMESPACE_URI
           
 
Constructor Summary
XmlSchema()
           
XmlSchema(java.lang.String targetNamespace)
           
 
Method Summary
 void addComplexType(XmlComplexType xmlComplexType)
           
 void addElement(XmlElement xmlElement)
           
 void addImport(XmlImport xmlImport)
           
 void addNamespace(java.lang.String namespace, java.lang.String prefix)
           
 java.util.Map getComplexTypes()
           
 java.util.Map getElements()
           
 java.util.Map getImports()
           
 java.util.Map getNamespacesPrefixMap()
           
 org.w3c.dom.Element getSchemaElement(org.w3c.dom.Document document)
           
 java.lang.String getTargetNamespace()
           
 boolean isComplexTypeExists(java.lang.String nameComplexType)
           
 boolean isElementExists(java.lang.String name)
           
 boolean isExists(XmlComplexType xmlComplexType)
           
 boolean isExists(XmlElement xmlElement)
           
 boolean isExists(XmlImport xmlImport)
           
 void setComplexTypes(java.util.Map complexTypes)
           
 void setElements(java.util.Map elements)
           
 void setImports(java.util.Map imports)
           
 void setNamespacesPrefixMap(java.util.Map namespacesPrefixMap)
           
 void setTargetNamespace(java.lang.String targetNamespace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XMLNS_NAMESPACE_URI

public static final java.lang.String XMLNS_NAMESPACE_URI
See Also:
Constant Field Values
Constructor Detail

XmlSchema

public XmlSchema()

XmlSchema

public XmlSchema(java.lang.String targetNamespace)
Method Detail

addNamespace

public void addNamespace(java.lang.String namespace,
                         java.lang.String prefix)

addImport

public void addImport(XmlImport xmlImport)

isExists

public boolean isExists(XmlImport xmlImport)

addElement

public void addElement(XmlElement xmlElement)

isExists

public boolean isExists(XmlElement xmlElement)

isElementExists

public boolean isElementExists(java.lang.String name)

addComplexType

public void addComplexType(XmlComplexType xmlComplexType)

isExists

public boolean isExists(XmlComplexType xmlComplexType)

isComplexTypeExists

public boolean isComplexTypeExists(java.lang.String nameComplexType)

getSchemaElement

public org.w3c.dom.Element getSchemaElement(org.w3c.dom.Document document)

getNamespacesPrefixMap

public java.util.Map getNamespacesPrefixMap()

setNamespacesPrefixMap

public void setNamespacesPrefixMap(java.util.Map namespacesPrefixMap)

getImports

public java.util.Map getImports()

setImports

public void setImports(java.util.Map imports)

getElements

public java.util.Map getElements()

setElements

public void setElements(java.util.Map elements)

getComplexTypes

public java.util.Map getComplexTypes()

setComplexTypes

public void setComplexTypes(java.util.Map complexTypes)

getTargetNamespace

public java.lang.String getTargetNamespace()

setTargetNamespace

public void setTargetNamespace(java.lang.String targetNamespace)


Copyright © 2007 Apache Web Services Project. All Rights Reserved.