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, getDocumentationElementsaddExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDocumentationElement, getDocumentationElementsaddNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespacegetExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttributeaddExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElementpublic void setTypeSystem(String typeSystem)
TypesElementsetTypeSystem in interface TypesElementpublic String getTypeSystem()
TypesElementgetTypeSystem in interface TypesElementpublic void addSchema(Schema schema)
TypesElementaddSchema in interface TypesElementschema - the Schema object.public void removeSchema(Schema schema)
TypesElementremoveSchema in interface TypesElementpublic Schema[] getSchemas()
TypesElementgetSchemas in interface TypesElementpublic Schema[] getSchemas(URI namespace)
TypesElementA null namespace argument will return schemas that have no target namespace.
getSchemas in interface TypesElementpublic InlinedSchema[] getInlinedSchemas()
TypesElementgetInlinedSchemas in interface TypesElementpublic ImportedSchema[] getImportedSchemas()
TypesElementgetImportedSchemas in interface TypesElementpublic WSDLElement getParentElement()
getParentElement in interface NestedElementpublic org.apache.ws.commons.schema.XmlSchemaElement getElementDeclaration(QName qname)
public org.apache.ws.commons.schema.XmlSchemaType getTypeDefinition(QName qname)
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.