Class 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.
    • Constructor Detail

      • XmlSchema

        public XmlSchema()
      • XmlSchema

        public XmlSchema​(String targetNamespace)
    • Method Detail

      • addNamespace

        public void addNamespace​(String namespace,
                                 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​(String name)
      • addComplexType

        public void addComplexType​(XmlComplexType xmlComplexType)
      • isExists

        public boolean isExists​(XmlComplexType xmlComplexType)
      • isComplexTypeExists

        public boolean isComplexTypeExists​(String nameComplexType)
      • getSchemaElement

        public Element getSchemaElement​(Document document)
      • 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)