public class WSDLElementImpl extends Object implements WSDLElement
| Constructor and Description |
|---|
WSDLElementImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtensionElement(ExtensionElement extEl) |
void |
addNamespace(String prefix,
URI namespace)
Associate the specified prefix with the specified namespace URI to this WSDL element.
|
NamespaceDeclaration[] |
getDeclaredNamespaces()
Return the namespaces and their associated prefixes declared directly
within this WSDL element.
|
XMLAttr |
getExtensionAttribute(QName attrType)
Return the extension attribute with this QName.
|
XMLAttr[] |
getExtensionAttributes()
Return all extension attributes.
|
XMLAttr[] |
getExtensionAttributesForNamespace(URI namespace)
Return the extension attributes from this namespace.
|
ExtensionElement[] |
getExtensionElements() |
ExtensionElement[] |
getExtensionElementsOfType(QName elemType) |
NamespaceDeclaration[] |
getInScopeNamespaces()
Return all namespaces and their associated prefixes that are in-scope
to this WSDL element.
|
String |
getNamespacePrefix(URI namespace)
Return the prefix associated with the specified namespace URI.
|
URI |
getNamespaceURI(String prefix)
Return the namespace URI associated with the specified prefix, or null if there is no
such namespace declaration.
|
boolean |
hasExtensionAttributesForNamespace(URI namespace)
Return true if the implementor has extension attributes belonging to this namespace,
otherwise false.
|
boolean |
hasExtensionElementsForNamespace(URI namespace)
Return true if the implementor has extension elements belonging to this namespace,
otherwise false.
|
void |
removeExtensionElement(ExtensionElement extEl) |
URI |
removeNamespace(String prefix)
Remove the namespace URI associated with the specified prefix from this WSDL element.
|
void |
setExtensionAttribute(QName attrType,
XMLAttr attr)
Store the extension attribute object identified by the QName.
|
public void setExtensionAttribute(QName attrType, XMLAttr attr)
AttributeExtensiblesetExtensionAttribute in interface AttributeExtensiblepublic XMLAttr getExtensionAttribute(QName attrType)
AttributeExtensiblegetExtensionAttribute in interface AttributeExtensiblepublic XMLAttr[] getExtensionAttributesForNamespace(URI namespace)
AttributeExtensiblegetExtensionAttributesForNamespace in interface AttributeExtensiblepublic XMLAttr[] getExtensionAttributes()
AttributeExtensiblegetExtensionAttributes in interface AttributeExtensiblepublic boolean hasExtensionAttributesForNamespace(URI namespace)
AttributeExtensiblehasExtensionAttributesForNamespace in interface AttributeExtensiblepublic void addExtensionElement(ExtensionElement extEl)
addExtensionElement in interface ElementExtensiblepublic void removeExtensionElement(ExtensionElement extEl)
removeExtensionElement in interface ElementExtensiblepublic ExtensionElement[] getExtensionElements()
getExtensionElements in interface ElementExtensiblepublic ExtensionElement[] getExtensionElementsOfType(QName elemType)
getExtensionElementsOfType in interface ElementExtensiblepublic boolean hasExtensionElementsForNamespace(URI namespace)
ElementExtensiblehasExtensionElementsForNamespace in interface ElementExtensiblepublic void addNamespace(String prefix, URI namespace)
WSDLElementxmlns namespace declaration to this
WSDL element.
To define the default namespace, specify null or the empty string "" for the prefix.
If null is specified for the namespace URI, the prefix/namespace association will be
removed (i.e. the same behaviour as the removeNamespace method).
If the specified prefix is already associated with a namespace URI,
that association will be replaced by the specified prefix/namespace association.addNamespace in interface WSDLElementprefix - the prefix String associated with namespaceURInamespace - the namespace URI associated with prefixpublic URI removeNamespace(String prefix)
WSDLElementxmlns namespace declaration from this
WSDL element.
To remove the default namespace, specify null or the empty string "" for the prefix.removeNamespace in interface WSDLElementprefix - the prefix String associated with the namespace to be removedpublic String getNamespacePrefix(URI namespace)
WSDLElementgetNamespacePrefix in interface WSDLElementnamespace - the namespace URI whose associated prefix is requiredpublic URI getNamespaceURI(String prefix)
WSDLElementgetNamespaceURI in interface WSDLElementprefix - the prefix whose associated namespace URI is requiredpublic NamespaceDeclaration[] getInScopeNamespaces()
WSDLElementgetInScopeNamespaces in interface WSDLElementpublic NamespaceDeclaration[] getDeclaredNamespaces()
WSDLElementgetDeclaredNamespaces in interface WSDLElementCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.