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)
AttributeExtensible
setExtensionAttribute
in interface AttributeExtensible
public XMLAttr getExtensionAttribute(QName attrType)
AttributeExtensible
getExtensionAttribute
in interface AttributeExtensible
public XMLAttr[] getExtensionAttributesForNamespace(URI namespace)
AttributeExtensible
getExtensionAttributesForNamespace
in interface AttributeExtensible
public XMLAttr[] getExtensionAttributes()
AttributeExtensible
getExtensionAttributes
in interface AttributeExtensible
public boolean hasExtensionAttributesForNamespace(URI namespace)
AttributeExtensible
hasExtensionAttributesForNamespace
in interface AttributeExtensible
public void addExtensionElement(ExtensionElement extEl)
addExtensionElement
in interface ElementExtensible
public void removeExtensionElement(ExtensionElement extEl)
removeExtensionElement
in interface ElementExtensible
public ExtensionElement[] getExtensionElements()
getExtensionElements
in interface ElementExtensible
public ExtensionElement[] getExtensionElementsOfType(QName elemType)
getExtensionElementsOfType
in interface ElementExtensible
public boolean hasExtensionElementsForNamespace(URI namespace)
ElementExtensible
hasExtensionElementsForNamespace
in interface ElementExtensible
public void addNamespace(String prefix, URI namespace)
WSDLElement
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.addNamespace
in interface WSDLElement
prefix
- the prefix String associated with namespaceURI
namespace
- the namespace URI associated with prefix
public URI removeNamespace(String prefix)
WSDLElement
xmlns
namespace declaration from this
WSDL element.
To remove the default namespace, specify null or the empty string "" for the prefix.removeNamespace
in interface WSDLElement
prefix
- the prefix String associated with the namespace to be removedpublic String getNamespacePrefix(URI namespace)
WSDLElement
getNamespacePrefix
in interface WSDLElement
namespace
- the namespace URI whose associated prefix is requiredpublic URI getNamespaceURI(String prefix)
WSDLElement
getNamespaceURI
in interface WSDLElement
prefix
- the prefix whose associated namespace URI is requiredpublic NamespaceDeclaration[] getInScopeNamespaces()
WSDLElement
getInScopeNamespaces
in interface WSDLElement
public NamespaceDeclaration[] getDeclaredNamespaces()
WSDLElement
getDeclaredNamespaces
in interface WSDLElement
Copyright © 2005-2013 Apache Software Foundation. All Rights Reserved.