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, getDocumentationElements
getParentElement
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
void 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 © 2005–2013 Apache Software Foundation. All rights reserved.