Class AbstractFieldsObjectIterator

  • All Implemented Interfaces:
    org.apache.commons.jxpath.ri.model.NodeIterator

    public class AbstractFieldsObjectIterator
    extends CGINIterator
    A NodeIterator for an AbstractFieldsObject.
    • 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 AbstractFieldsObject
        nodeTest - test that field must pass to be visited by the iterator
        reverse - order in which to visit fields
        startWith - field at which to start