Class CollectionCGINPointer
- java.lang.Object
-
- org.apache.commons.jxpath.ri.model.NodePointer
-
- CGINPointer
-
- CollectionCGINPointer
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable
,org.apache.commons.jxpath.Pointer
- Direct Known Subclasses:
AbstractFieldsObjectPointer
,ArrayDataObjectPointer
,ArrayPointer
,EnumPointer
,NamedIntegerPointer
public abstract class CollectionCGINPointer extends CGINPointer
Abstract superclass of NodePointers for collections.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CollectionCGINPointer(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name)
Creates a pointer for a collection with the given name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCollection()
Determines whether this pointer refers to a collection.boolean
isLeaf()
Determines whether this pointer refers to a leaf.-
Methods inherited from class com.opencloud.slee.resources.cgin.xpath.CGINPointer
compareChildNodePointers, createChild, getBaseValue, getLength, getName
-
Methods inherited from class org.apache.commons.jxpath.ri.model.NodePointer
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
-
-
-
-
Constructor Detail
-
CollectionCGINPointer
protected CollectionCGINPointer(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name)
Creates a pointer for a collection with the given name.- Parameters:
parent
- pointer to the surrounding nodename
- name of the new node
-
-
Method Detail
-
isCollection
public boolean isCollection()
Determines whether this pointer refers to a collection.- Specified by:
isCollection
in classorg.apache.commons.jxpath.ri.model.NodePointer
- Returns:
- true
-
isLeaf
public boolean isLeaf()
Determines whether this pointer refers to a leaf.- Specified by:
isLeaf
in classorg.apache.commons.jxpath.ri.model.NodePointer
- Returns:
- false
-
-