Class AbstractFieldsObjectIterator
- java.lang.Object
-
- CGINIterator
-
- AbstractFieldsObjectIterator
-
- All Implemented Interfaces:
org.apache.commons.jxpath.ri.model.NodeIterator
public class AbstractFieldsObjectIterator extends CGINIterator
A NodeIterator for an AbstractFieldsObject.
-
-
Field Summary
-
Fields inherited from class com.opencloud.slee.resources.cgin.xpath.CGINIterator
children, position
-
-
Constructor Summary
Constructors Constructor Description AbstractFieldsObjectIterator(AbstractFieldsObjectPointer parent, org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
Constructs an iterator for the given AbstractFieldsObject that visits only fields that pass the given test, in the given ordering, starting from the given field.
-
Method Summary
-
Methods inherited from class com.opencloud.slee.resources.cgin.xpath.CGINIterator
getNodePointer, getPosition, setPosition
-
-
-
-
Constructor Detail
-
AbstractFieldsObjectIterator
public AbstractFieldsObjectIterator(AbstractFieldsObjectPointer parent, org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
Constructs an iterator for the given AbstractFieldsObject that visits only fields that pass the given test, in the given ordering, starting from the given field. Initialises the fields with an array of pointers to the fields to be visited and the position in that array of the next field to be visited.- Parameters:
parent
- pointer to an AbstractFieldsObjectnodeTest
- test that field must pass to be visited by the iteratorreverse
- order in which to visit fieldsstartWith
- field at which to start
-
-