org.apache.woden.wsdl20.extensions
Interface AttributeExtensible

All Known Subinterfaces:
BindingElement, BindingFaultElement, BindingFaultReferenceElement, BindingMessageReferenceElement, BindingOperationElement, DescriptionElement, DocumentableElement, DocumentationElement, EndpointElement, HTTPHeaderElement, ImportElement, IncludeElement, InterfaceElement, InterfaceFaultElement, InterfaceFaultReferenceElement, InterfaceMessageReferenceElement, InterfaceOperationElement, NestedElement, ServiceElement, SOAPHeaderBlockElement, SOAPModuleElement, TypesElement, WSDLElement
All Known Implementing Classes:
AttributeExtensibleImpl, BindingFaultImpl, BindingFaultReferenceImpl, BindingImpl, BindingMessageReferenceImpl, BindingOperationImpl, DescriptionImpl, DocumentableImpl, DocumentationImpl, EndpointImpl, HTTPHeaderImpl, ImportImpl, IncludeImpl, InterfaceFaultImpl, InterfaceFaultReferenceImpl, InterfaceImpl, InterfaceMessageReferenceImpl, InterfaceOperationImpl, NestedImpl, ServiceImpl, SOAPHeaderBlockImpl, SOAPModuleImpl, TypesImpl, WSDLElementImpl

public interface AttributeExtensible

This interface represents elements that may contain extension attributes.

Author:
jkaputin@apache.org

Method Summary
 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.
 boolean hasExtensionAttributesForNamespace(java.net.URI namespace)
          Return true if the implementor has extension attributes belonging to this namespace, otherwise false.
 void setExtensionAttribute(QName attrType, XMLAttr attr)
          Store the extension attribute object identified by the QName.
 

Method Detail

setExtensionAttribute

public void setExtensionAttribute(QName attrType,
                                  XMLAttr attr)
Store the extension attribute object identified by the QName. If the attribute argument is null, remove the extension attribute identified by the specified QName argument. TODO ? @throws IllegalArgumentException if the QName is null


getExtensionAttribute

public XMLAttr getExtensionAttribute(QName attrType)
Return the extension attribute with this QName.


getExtensionAttributesForNamespace

public XMLAttr[] getExtensionAttributesForNamespace(java.net.URI namespace)
Return the extension attributes from this namespace.


getExtensionAttributes

public XMLAttr[] getExtensionAttributes()
Return all extension attributes.


hasExtensionAttributesForNamespace

public boolean hasExtensionAttributesForNamespace(java.net.URI namespace)
Return true if the implementor has extension attributes belonging to this namespace, otherwise false.



Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.