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