public class XmlSchema extends Object
Modifier and Type | Field and Description |
---|---|
static String |
XMLNS_NAMESPACE_URI |
Constructor and Description |
---|
XmlSchema() |
XmlSchema(String targetNamespace) |
Modifier and Type | Method and 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) |
public static final String XMLNS_NAMESPACE_URI
public XmlSchema()
public XmlSchema(String targetNamespace)
public void addImport(XmlImport xmlImport)
public boolean isExists(XmlImport xmlImport)
public void addElement(XmlElement xmlElement)
public boolean isExists(XmlElement xmlElement)
public boolean isElementExists(String name)
public void addComplexType(XmlComplexType xmlComplexType)
public boolean isExists(XmlComplexType xmlComplexType)
public boolean isComplexTypeExists(String nameComplexType)
public Map getNamespacesPrefixMap()
public void setNamespacesPrefixMap(Map namespacesPrefixMap)
public Map getImports()
public void setImports(Map imports)
public Map getElements()
public void setElements(Map elements)
public Map getComplexTypes()
public void setComplexTypes(Map complexTypes)
public String getTargetNamespace()
public void setTargetNamespace(String targetNamespace)
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.