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, toString
public 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.NodePointer
public String getNamespaceURI()
getNamespaceURI
in class org.apache.commons.jxpath.ri.model.NodePointer
public Object getValue()
getValue
in interface org.apache.commons.jxpath.Pointer
getValue
in class org.apache.commons.jxpath.ri.model.NodePointer
public Object getBaseValue()
getBaseValue
in class org.apache.commons.jxpath.ri.model.NodePointer
public boolean isCollection()
isCollection
in class org.apache.commons.jxpath.ri.model.NodePointer
public int getLength()
getLength
in class org.apache.commons.jxpath.ri.model.NodePointer
public Object getImmediateNode()
getImmediateNode
in class org.apache.commons.jxpath.ri.model.NodePointer
public boolean isActual()
isActual
in class org.apache.commons.jxpath.ri.model.NodePointer
public boolean isLeaf()
isLeaf
in class org.apache.commons.jxpath.ri.model.NodePointer
public boolean testNode(org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest)
testNode
in class org.apache.commons.jxpath.ri.model.NodePointer
public void setValue(Object value)
setValue
in interface org.apache.commons.jxpath.Pointer
setValue
in class org.apache.commons.jxpath.ri.model.NodePointer
value
- to setpublic void remove()
remove
in class org.apache.commons.jxpath.ri.model.NodePointer
public String asPath()
asPath
in interface org.apache.commons.jxpath.Pointer
asPath
in class org.apache.commons.jxpath.ri.model.NodePointer
public 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.NodePointer
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.