public class EnumIterator<E extends Enum<E>> extends CGINIterator
children, position| Constructor and 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.
|
getNodePointer, getPosition, setPositionpublic EnumIterator(EnumPointer parent, org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
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