Class AbstractFieldsObjectPointer
- java.lang.Object
-
- org.apache.commons.jxpath.ri.model.NodePointer
-
- CGINPointer
-
- CollectionCGINPointer
-
- AbstractFieldsObjectPointer
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable
,org.apache.commons.jxpath.Pointer
public class AbstractFieldsObjectPointer extends CollectionCGINPointer
A NodePointer for an AbstractFieldsObject.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractFieldsObjectPointer(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name, AbstractFieldsObject object)
Creates a pointer to the given AbstractFieldsObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.commons.jxpath.ri.model.NodeIterator
childIterator(org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
Gets an iterator that visits the fields of this AbstractFieldsObject that pass the given test, in the given order, starting from the given field.Object
getImmediateNode()
Gets the AbstractFieldsObject.void
setValue(Object value)
Sets this pointer so that it refers to the given AbstractFieldsObject.-
Methods inherited from class com.opencloud.slee.resources.cgin.xpath.CollectionCGINPointer
isCollection, isLeaf
-
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, 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
-
-
-
-
Constructor Detail
-
AbstractFieldsObjectPointer
protected AbstractFieldsObjectPointer(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name, AbstractFieldsObject object)
Creates a pointer to the given AbstractFieldsObject.- Parameters:
parent
- pointer to the surrounding nodename
- name of the new nodeobject
- value of the new node
-
-
Method Detail
-
childIterator
public org.apache.commons.jxpath.ri.model.NodeIterator childIterator(org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
Gets an iterator that visits the fields of this AbstractFieldsObject that pass the given test, in the given order, starting from the given field.- Overrides:
childIterator
in classorg.apache.commons.jxpath.ri.model.NodePointer
- Parameters:
nodeTest
- test that field must pass to be visited by the iteratorreverse
- order in which to visit fieldsstartWith
- field at which to start- Returns:
- NodeIterator
-
getImmediateNode
public Object getImmediateNode()
Gets the AbstractFieldsObject.- Specified by:
getImmediateNode
in classorg.apache.commons.jxpath.ri.model.NodePointer
- Returns:
- Object
-
setValue
public void setValue(Object value)
Sets this pointer so that it refers to the given AbstractFieldsObject.- Specified by:
setValue
in interfaceorg.apache.commons.jxpath.Pointer
- Specified by:
setValue
in classorg.apache.commons.jxpath.ri.model.NodePointer
- Parameters:
value
- Object
-
-