Class EnumIterator<E extends Enum<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.
    • 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 enum
        nodeTest - test that component must pass to be visited by the iterator
        reverse - order in which to visit components
        startWith - component at which to start