|
||||||||||
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 TypesElement
public java.lang.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(java.net.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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |