Class ArrayIterator<T>
- java.lang.Object
-
- CGINIterator
-
- AbstractArrayIterator<T>
-
- ArrayIterator<T>
-
- All Implemented Interfaces:
org.apache.commons.jxpath.ri.model.NodeIterator
public class ArrayIterator<T> extends AbstractArrayIterator<T>
A NodeIterator for an array.
-
-
Field Summary
-
Fields inherited from class com.opencloud.slee.resources.cgin.xpath.CGINIterator
children, position
-
-
Constructor Summary
Constructors Constructor Description ArrayIterator(ArrayPointer parent, org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
Creates a NodeIterator for the elements of the given array.
-
Method Summary
-
Methods inherited from class com.opencloud.slee.resources.cgin.xpath.CGINIterator
getNodePointer, getPosition, setPosition
-
-
-
-
Constructor Detail
-
ArrayIterator
public ArrayIterator(ArrayPointer parent, org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
Creates a NodeIterator for the elements of the given array.- Parameters:
parent
- pointer to the whole arraynodeTest
- test that element must pass to be visited by the iteratorreverse
- order in which to visit elementsstartWith
- element at which to start
-
-