org.apache.axiom.om.xpath
Class DocumentNavigator.OMAttributeEx

java.lang.Object
  extended by org.apache.axiom.om.xpath.DocumentNavigator.OMAttributeEx
All Implemented Interfaces:
OMAttribute
Enclosing class:
DocumentNavigator

 class DocumentNavigator.OMAttributeEx
extends java.lang.Object
implements OMAttribute


Field Summary
(package private)  OMAttribute attribute
           
(package private)  OMFactory factory
           
(package private)  OMContainer parent
           
 
Constructor Summary
DocumentNavigator.OMAttributeEx(OMAttribute attribute, OMContainer parent, OMFactory factory)
           
 
Method Summary
 java.lang.String getAttributeValue()
           
 java.lang.String getLocalName()
           
 OMNamespace getNamespace()
           
 OMFactory getOMFactory()
          Returns the OMFactory that created this object
 OMElement getOwner()
          Returns the owner element of this attribute
 OMContainer getParent()
           
 javax.xml.namespace.QName getQName()
           
 void setAttributeValue(java.lang.String value)
           
 void setLocalName(java.lang.String localName)
           
 void setOMNamespace(OMNamespace omNamespace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attribute

OMAttribute attribute

parent

OMContainer parent

factory

OMFactory factory
Constructor Detail

DocumentNavigator.OMAttributeEx

DocumentNavigator.OMAttributeEx(OMAttribute attribute,
                                OMContainer parent,
                                OMFactory factory)
Method Detail

getLocalName

public java.lang.String getLocalName()
Specified by:
getLocalName in interface OMAttribute
Returns:
Returns localName.

setLocalName

public void setLocalName(java.lang.String localName)
Specified by:
setLocalName in interface OMAttribute

getAttributeValue

public java.lang.String getAttributeValue()
Specified by:
getAttributeValue in interface OMAttribute
Returns:
Returns String.

setAttributeValue

public void setAttributeValue(java.lang.String value)
Specified by:
setAttributeValue in interface OMAttribute

setOMNamespace

public void setOMNamespace(OMNamespace omNamespace)
Specified by:
setOMNamespace in interface OMAttribute

getNamespace

public OMNamespace getNamespace()
Specified by:
getNamespace in interface OMAttribute
Returns:
Returns OMNamespace.

getQName

public javax.xml.namespace.QName getQName()
Specified by:
getQName in interface OMAttribute
Returns:
Returns javax.xml.namespace.QName

getParent

public OMContainer getParent()

getOMFactory

public OMFactory getOMFactory()
Description copied from interface: OMAttribute
Returns the OMFactory that created this object

Specified by:
getOMFactory in interface OMAttribute

getOwner

public OMElement getOwner()
Returns the owner element of this attribute

Specified by:
getOwner in interface OMAttribute
Returns:
OMElement If the parent OMContainer is an instanceof OMElement we return that element else we return null. To get the OMContainer itself use the getParent() method.