public class TypesImpl extends DocumentableImpl implements TypesElement
Constructor and Description |
---|
TypesImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addSchema(Schema schema)
Add a Schema object for a schema inlined or imported within the <types> element.
|
org.apache.ws.commons.schema.XmlSchemaElement |
getElementDeclaration(QName qname) |
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.
|
WSDLElement |
getParentElement() |
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.
|
org.apache.ws.commons.schema.XmlSchemaType |
getTypeDefinition(QName qname) |
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
addExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDocumentationElement, getDocumentationElements
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
public void setTypeSystem(String typeSystem)
TypesElement
setTypeSystem
in interface TypesElement
public String getTypeSystem()
TypesElement
getTypeSystem
in interface TypesElement
public void addSchema(Schema schema)
TypesElement
addSchema
in interface TypesElement
schema
- the Schema object.public void removeSchema(Schema schema)
TypesElement
removeSchema
in interface TypesElement
public Schema[] getSchemas()
TypesElement
getSchemas
in interface TypesElement
public Schema[] getSchemas(URI namespace)
TypesElement
A null namespace argument will return schemas that have no target namespace.
getSchemas
in interface TypesElement
public InlinedSchema[] getInlinedSchemas()
TypesElement
getInlinedSchemas
in interface TypesElement
public ImportedSchema[] getImportedSchemas()
TypesElement
getImportedSchemas
in interface TypesElement
public WSDLElement getParentElement()
getParentElement
in interface NestedElement
public org.apache.ws.commons.schema.XmlSchemaElement getElementDeclaration(QName qname)
public org.apache.ws.commons.schema.XmlSchemaType getTypeDefinition(QName qname)
Copyright © 2005–2015 Apache Software Foundation. All rights reserved.