public class SourceElementAttributePointer
extends org.apache.commons.jxpath.ri.model.NodePointer
| Constructor and Description | 
|---|
| SourceElementAttributePointer(org.apache.commons.jxpath.ri.model.NodePointer parent,
                             SourceElement sourceElement,
                             String name)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | asPath() | 
| int | compareChildNodePointers(org.apache.commons.jxpath.ri.model.NodePointer pointer1,
                        org.apache.commons.jxpath.ri.model.NodePointer pointer2) | 
| boolean | equals(Object object) | 
| Object | getBaseValue() | 
| Object | getImmediateNode() | 
| int | getLength() | 
| org.apache.commons.jxpath.ri.QName | getName() | 
| String | getNamespaceURI() | 
| Object | getValue() | 
| int | hashCode() | 
| boolean | isActual() | 
| boolean | isCollection() | 
| boolean | isLeaf() | 
| void | remove()Removes the attribute pointed to. | 
| void | setValue(Object value)Sets the value of this attribute. | 
| boolean | testNode(org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest) | 
attributeIterator, childIterator, clone, compareTo, createAttribute, createChild, createChild, createPath, createPath, escape, getAbstractFactory, getDefaultNamespaceURI, getImmediateParentPointer, getImmediateValuePointer, getIndex, getLocale, getNamespaceResolver, getNamespaceURI, getNode, getNodeSetByKey, getNodeValue, getParent, getPointerByID, getPointerByKey, getRootNode, getValuePointer, isAttribute, isContainer, isDefaultNamespace, isLanguage, isNode, isRoot, namespaceIterator, namespacePointer, newChildNodePointer, newNodePointer, printPointerChain, setAttribute, setIndex, setNamespaceResolver, toStringpublic SourceElementAttributePointer(org.apache.commons.jxpath.ri.model.NodePointer parent,
                                     SourceElement sourceElement,
                                     String name)
parent - the parent pointer.sourceElement - the SourceElement to which attribute is pointed.name - the name of the attribute pointed to.public org.apache.commons.jxpath.ri.QName getName()
getName in class org.apache.commons.jxpath.ri.model.NodePointerpublic String getNamespaceURI()
getNamespaceURI in class org.apache.commons.jxpath.ri.model.NodePointerpublic Object getValue()
getValue in interface org.apache.commons.jxpath.PointergetValue in class org.apache.commons.jxpath.ri.model.NodePointerpublic Object getBaseValue()
getBaseValue in class org.apache.commons.jxpath.ri.model.NodePointerpublic boolean isCollection()
isCollection in class org.apache.commons.jxpath.ri.model.NodePointerpublic int getLength()
getLength in class org.apache.commons.jxpath.ri.model.NodePointerpublic Object getImmediateNode()
getImmediateNode in class org.apache.commons.jxpath.ri.model.NodePointerpublic boolean isActual()
isActual in class org.apache.commons.jxpath.ri.model.NodePointerpublic boolean isLeaf()
isLeaf in class org.apache.commons.jxpath.ri.model.NodePointerpublic boolean testNode(org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest)
testNode in class org.apache.commons.jxpath.ri.model.NodePointerpublic void setValue(Object value)
setValue in interface org.apache.commons.jxpath.PointersetValue in class org.apache.commons.jxpath.ri.model.NodePointervalue - to setpublic void remove()
remove in class org.apache.commons.jxpath.ri.model.NodePointerpublic String asPath()
asPath in interface org.apache.commons.jxpath.PointerasPath in class org.apache.commons.jxpath.ri.model.NodePointerpublic int compareChildNodePointers(org.apache.commons.jxpath.ri.model.NodePointer pointer1,
                                    org.apache.commons.jxpath.ri.model.NodePointer pointer2)
compareChildNodePointers in class org.apache.commons.jxpath.ri.model.NodePointerCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.