public interface WSDLElement extends AttributeExtensible, ElementExtensible
| Modifier and Type | Method and Description |
|---|---|
void |
addNamespace(String prefix,
URI namespaceURI)
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.
|
NamespaceDeclaration[] |
getInScopeNamespaces()
Return all namespaces and their associated prefixes that are in-scope
to this WSDL element.
|
String |
getNamespacePrefix(URI namespaceURI)
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.
|
URI |
removeNamespace(String prefix)
Remove the namespace URI associated with the specified prefix from this WSDL element.
|
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttributeaddExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElementvoid addNamespace(String prefix, URI namespaceURI)
xmlns 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.prefix - the prefix String associated with namespaceURInamespaceURI - the namespace URI associated with prefixURI removeNamespace(String prefix)
xmlns namespace declaration from this
WSDL element.
To remove the default namespace, specify null or the empty string "" for the prefix.prefix - the prefix String associated with the namespace to be removedURI getNamespaceURI(String prefix)
prefix - the prefix whose associated namespace URI is requiredString getNamespacePrefix(URI namespaceURI)
namespaceURI - the namespace URI whose associated prefix is requiredNamespaceDeclaration[] getDeclaredNamespaces()
NamespaceDeclaration[] getInScopeNamespaces()
Copyright ? Apache Software Foundation. All Rights Reserved.