|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.woden.internal.wsdl20.WSDLElementImpl
org.apache.woden.internal.wsdl20.DocumentableImpl
org.apache.woden.internal.wsdl20.TypesImpl
public class TypesImpl
This class represents the WSDL <types> element. TODO consider methods to get directly declared schemas vs getting all 'in-scope' schemas from the wsdl tree.
| Constructor Summary | |
|---|---|
TypesImpl()
|
|
| Method Summary | |
|---|---|
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(java.net.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)
|
java.lang.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(java.lang.String typeSystem)
Indicates the type system used within the <types> element. |
| Methods inherited from class org.apache.woden.internal.wsdl20.DocumentableImpl |
|---|
addDocumentationElement, getDocumentationElements |
| Methods inherited from class org.apache.woden.internal.wsdl20.WSDLElementImpl |
|---|
addExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttribute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.woden.wsdl20.xml.DocumentableElement |
|---|
addDocumentationElement, getDocumentationElements |
| Methods inherited from interface org.apache.woden.wsdl20.xml.WSDLElement |
|---|
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace |
| Methods inherited from interface org.apache.woden.wsdl20.extensions.AttributeExtensible |
|---|
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute |
| Methods inherited from interface org.apache.woden.wsdl20.extensions.ElementExtensible |
|---|
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement |
| Methods inherited from interface org.apache.woden.wsdl20.xml.WSDLElement |
|---|
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace |
| Methods inherited from interface org.apache.woden.wsdl20.extensions.AttributeExtensible |
|---|
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute |
| Methods inherited from interface org.apache.woden.wsdl20.extensions.ElementExtensible |
|---|
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement |
| Constructor Detail |
|---|
public TypesImpl()
| Method Detail |
|---|
public void setTypeSystem(java.lang.String typeSystem)
TypesElement
setTypeSystem in interface TypesElementpublic java.lang.String getTypeSystem()
TypesElement
getTypeSystem in interface TypesElementpublic void addSchema(Schema schema)
TypesElement
addSchema in interface TypesElementschema - the Schema object.public void removeSchema(Schema schema)
TypesElement
removeSchema in interface TypesElementpublic Schema[] getSchemas()
TypesElement
getSchemas in interface TypesElementpublic Schema[] getSchemas(java.net.URI namespace)
TypesElementA null namespace argument will return schemas that have no target namespace.
getSchemas in interface TypesElementpublic InlinedSchema[] getInlinedSchemas()
TypesElement
getInlinedSchemas in interface TypesElementpublic ImportedSchema[] getImportedSchemas()
TypesElement
getImportedSchemas 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||