public class StringPointer extends LeafCGINPointer
Modifier | Constructor and Description |
---|---|
protected |
StringPointer(org.apache.commons.jxpath.ri.model.NodePointer parent,
org.apache.commons.jxpath.ri.QName name,
String object)
Creates a pointer to the given String.
|
Modifier and Type | Method and Description |
---|---|
Object |
getImmediateNode()
Gets the String.
|
void |
setValue(Object value)
Sets this pointer so that it refers to the given String.
|
isCollection, isLeaf
compareChildNodePointers, createChild, getBaseValue, getLength, getName
asPath, attributeIterator, childIterator, clone, compareTo, createAttribute, createChild, createChild, createPath, createPath, escape, getAbstractFactory, getDefaultNamespaceURI, getImmediateParentPointer, getImmediateValuePointer, getIndex, getLocale, getNamespaceResolver, getNamespaceURI, getNamespaceURI, getNode, getNodeSetByKey, getNodeValue, getParent, getPointerByID, getPointerByKey, getRootNode, getValue, getValuePointer, isActual, isAttribute, isContainer, isDefaultNamespace, isLanguage, isNode, isRoot, namespaceIterator, namespacePointer, newChildNodePointer, newNodePointer, printPointerChain, remove, setAttribute, setIndex, setNamespaceResolver, testNode, toString
protected StringPointer(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name, String object)
parent
- pointer to the surrounding nodename
- name of the new nodeobject
- value of the new nodepublic Object getImmediateNode()
getImmediateNode
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
- Object