|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.woden.internal.wsdl20.WSDLElementImpl
public class WSDLElementImpl
This abstract class defines the behaviour common to all WSDL elements. That is, it implements support for extension attributes and elements. This interface can be used as a common reference for all WSDL elements represented by the Element API.
| Constructor Summary | |
|---|---|
WSDLElementImpl()
|
|
| Method Summary | |
|---|---|
void |
addExtensionElement(ExtensionElement extEl)
|
void |
addNamespace(java.lang.String prefix,
java.net.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(java.net.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. |
java.lang.String |
getNamespacePrefix(java.net.URI namespace)
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. |
boolean |
hasExtensionAttributesForNamespace(java.net.URI namespace)
Return true if the implementor has extension attributes belonging to this namespace, otherwise false. |
boolean |
hasExtensionElementsForNamespace(java.net.URI namespace)
Return true if the implementor has extension elements belonging to this namespace, otherwise false. |
void |
removeExtensionElement(ExtensionElement extEl)
|
java.net.URI |
removeNamespace(java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSDLElementImpl()
| Method Detail |
|---|
public void setExtensionAttribute(QName attrType,
XMLAttr attr)
AttributeExtensible
setExtensionAttribute in interface AttributeExtensiblepublic XMLAttr getExtensionAttribute(QName attrType)
AttributeExtensible
getExtensionAttribute in interface AttributeExtensiblepublic XMLAttr[] getExtensionAttributesForNamespace(java.net.URI namespace)
AttributeExtensible
getExtensionAttributesForNamespace in interface AttributeExtensiblepublic XMLAttr[] getExtensionAttributes()
AttributeExtensible
getExtensionAttributes in interface AttributeExtensiblepublic boolean hasExtensionAttributesForNamespace(java.net.URI namespace)
AttributeExtensible
hasExtensionAttributesForNamespace 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(java.net.URI namespace)
ElementExtensible
hasExtensionElementsForNamespace in interface ElementExtensible
public void addNamespace(java.lang.String prefix,
java.net.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 java.net.URI removeNamespace(java.lang.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 removed
public java.lang.String getNamespacePrefix(java.net.URI namespace)
WSDLElement
getNamespacePrefix in interface WSDLElementnamespace - the namespace URI whose associated prefix is required
public java.net.URI getNamespaceURI(java.lang.String prefix)
WSDLElement
getNamespaceURI in interface WSDLElementprefix - the prefix whose associated namespace URI is required
public NamespaceDeclaration[] getInScopeNamespaces()
WSDLElement
getInScopeNamespaces in interface WSDLElementpublic NamespaceDeclaration[] getDeclaredNamespaces()
WSDLElement
getDeclaredNamespaces in interface WSDLElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||