org.apache.woden.internal.wsdl20.extensions
Class AttributeExtensibleImpl

java.lang.Object
  extended by org.apache.woden.internal.wsdl20.extensions.AttributeExtensibleImpl
All Implemented Interfaces:
AttributeExtensible

public class AttributeExtensibleImpl
extends java.lang.Object
implements AttributeExtensible

Common code for handling extension attributes. Can be reused by inheritance or by delegation.

Author:
jkaputin@ws.apache.org

Constructor Summary
AttributeExtensibleImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeExtensibleImpl

public AttributeExtensibleImpl()
Method Detail

setExtensionAttribute

public void setExtensionAttribute(QName attrType,
                                  XMLAttr attr)
Description copied from interface: AttributeExtensible
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

Specified by:
setExtensionAttribute in interface AttributeExtensible

getExtensionAttribute

public XMLAttr getExtensionAttribute(QName attrType)
Description copied from interface: AttributeExtensible
Return the extension attribute with this QName.

Specified by:
getExtensionAttribute in interface AttributeExtensible

getExtensionAttributesForNamespace

public XMLAttr[] getExtensionAttributesForNamespace(java.net.URI namespace)
Description copied from interface: AttributeExtensible
Return the extension attributes from this namespace.

Specified by:
getExtensionAttributesForNamespace in interface AttributeExtensible

getExtensionAttributes

public XMLAttr[] getExtensionAttributes()
Description copied from interface: AttributeExtensible
Return all extension attributes.

Specified by:
getExtensionAttributes in interface AttributeExtensible

hasExtensionAttributesForNamespace

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

Specified by:
hasExtensionAttributesForNamespace in interface AttributeExtensible


Copyright © 2007. All Rights Reserved.