public interface TypesElement extends DocumentableElement, NestedElement
| Modifier and Type | Method and Description |
|---|---|
void |
addSchema(Schema schema)
Add a Schema object for a schema inlined or imported within the <types> element.
|
ImportedSchema[] |
getImportedSchemas()
Return the schemas imported directly by this <types> element
in the order in which they occur.
|
InlinedSchema[] |
getInlinedSchemas()
Return the schemas inlined directly within this <types> element
in the order in which they occur.
|
Schema[] |
getSchemas()
Return the schemas inlined or imported directly within this <types> element.
|
Schema[] |
getSchemas(URI namespace)
Return the schemas inlined or imported directly within this <types> element
whose target namespace matches the specified namespace.
|
String |
getTypeSystem()
Get the string indicating the type system used within the <types>
element.
|
void |
removeSchema(Schema schema)
Delete the specified Schema object.
|
void |
setTypeSystem(String typeSystem)
Indicates the type system used within the <types> element.
|
addDocumentationElement, getDocumentationElementsgetParentElementaddNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespacegetExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttributeaddExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElementvoid setTypeSystem(String typeSystem)
String getTypeSystem()
void addSchema(Schema schema)
schema - the Schema object.void removeSchema(Schema schema)
Schema[] getSchemas()
Schema[] getSchemas(URI namespace)
A null namespace argument will return schemas that have no target namespace.
InlinedSchema[] getInlinedSchemas()
ImportedSchema[] getImportedSchemas()
Copyright ? Apache Software Foundation. All Rights Reserved.