org.apache.axis2.wsdl.codegen.schema
Class XmlSchema
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLNS_NAMESPACE_URI
public static final java.lang.String XMLNS_NAMESPACE_URI
- See Also:
- Constant Field Values
XmlSchema
public XmlSchema()
XmlSchema
public XmlSchema(java.lang.String targetNamespace)
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.