Class XmlSchema
- java.lang.Object
-
- org.apache.axis2.wsdl.codegen.schema.XmlSchema
-
public class XmlSchema extends Object
this class represents and schema object. it is assumed that we consider the xsd schemaa as the defualt name space.
-
-
Field Summary
Fields Modifier and Type Field Description static String
XMLNS_NAMESPACE_URI
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComplexType(XmlComplexType xmlComplexType)
void
addElement(XmlElement xmlElement)
void
addImport(XmlImport xmlImport)
void
addNamespace(String namespace, String prefix)
Map
getComplexTypes()
Map
getElements()
Map
getImports()
Map
getNamespacesPrefixMap()
Element
getSchemaElement(Document document)
String
getTargetNamespace()
boolean
isComplexTypeExists(String nameComplexType)
boolean
isElementExists(String name)
boolean
isExists(XmlComplexType xmlComplexType)
boolean
isExists(XmlElement xmlElement)
boolean
isExists(XmlImport xmlImport)
void
setComplexTypes(Map complexTypes)
void
setElements(Map elements)
void
setImports(Map imports)
void
setNamespacesPrefixMap(Map namespacesPrefixMap)
void
setTargetNamespace(String targetNamespace)
-
-
-
Field Detail
-
XMLNS_NAMESPACE_URI
public static final String XMLNS_NAMESPACE_URI
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XmlSchema
public XmlSchema()
-
XmlSchema
public XmlSchema(String targetNamespace)
-
-
Method Detail
-
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(String name)
-
addComplexType
public void addComplexType(XmlComplexType xmlComplexType)
-
isExists
public boolean isExists(XmlComplexType xmlComplexType)
-
isComplexTypeExists
public boolean isComplexTypeExists(String nameComplexType)
-
getNamespacesPrefixMap
public Map getNamespacesPrefixMap()
-
setNamespacesPrefixMap
public void setNamespacesPrefixMap(Map namespacesPrefixMap)
-
getImports
public Map getImports()
-
setImports
public void setImports(Map imports)
-
getElements
public Map getElements()
-
setElements
public void setElements(Map elements)
-
getComplexTypes
public Map getComplexTypes()
-
setComplexTypes
public void setComplexTypes(Map complexTypes)
-
getTargetNamespace
public String getTargetNamespace()
-
setTargetNamespace
public void setTargetNamespace(String targetNamespace)
-
-