|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents all WSDL 2.0 elements. The Java interfaces representing the WSDL 2.0 elements will directly or indirectly extend this interface.
Method Summary | |
---|---|
void |
addNamespace(java.lang.String prefix,
java.net.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. |
java.lang.String |
getNamespacePrefix(java.net.URI namespaceURI)
Return the prefix associated with the specified namespace URI. |
java.net.URI |
getNamespaceURI(java.lang.String prefix)
Return the namespace URI associated with the specified prefix, or null if there is no such namespace declaration. |
java.net.URI |
removeNamespace(java.lang.String prefix)
Remove the namespace URI associated with the specified prefix from this WSDL element. |
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 |
Method Detail |
public void addNamespace(java.lang.String prefix, java.net.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 namespaceURI
namespaceURI
- the namespace URI associated with prefix
public java.net.URI removeNamespace(java.lang.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 removed
public java.net.URI getNamespaceURI(java.lang.String prefix)
prefix
- the prefix whose associated namespace URI is required
public java.lang.String getNamespacePrefix(java.net.URI namespaceURI)
namespaceURI
- the namespace URI whose associated prefix is required
public NamespaceDeclaration[] getDeclaredNamespaces()
public NamespaceDeclaration[] getInScopeNamespaces()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |