public abstract class LeafCGINPointer extends CGINPointer
Modifier | Constructor and Description |
---|---|
protected |
LeafCGINPointer(org.apache.commons.jxpath.ri.model.NodePointer parent,
org.apache.commons.jxpath.ri.QName name)
Creates a pointer for a leaf with the given name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCollection()
Determines whether this pointer refers to a collection.
|
boolean |
isLeaf()
Determines whether this pointer refers to a leaf.
|
compareChildNodePointers, createChild, getBaseValue, getLength, getName
asPath, attributeIterator, childIterator, clone, compareTo, createAttribute, createChild, createChild, createPath, createPath, escape, getAbstractFactory, getDefaultNamespaceURI, getImmediateNode, 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, setValue, testNode, toString
protected LeafCGINPointer(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name)
parent
- pointer to the surrounding nodename
- name of the new nodepublic boolean isCollection()
isCollection
in class org.apache.commons.jxpath.ri.model.NodePointer
public boolean isLeaf()
isLeaf
in class org.apache.commons.jxpath.ri.model.NodePointer