Class WalkingIteratorSorted

All Implemented Interfaces:
Cloneable, SourceLocator, PathComponent, SubContextList, ExpressionNode, DTMIterator, XPathVisitable

public class WalkingIteratorSorted extends WalkingIterator
This class iterates over set of nodes that needs to be sorted.
  • Constructor Details

    • WalkingIteratorSorted

      WalkingIteratorSorted(Compiler compiler, int opPos, int analysis) throws TransformerException
      Create a WalkingIterator iterator, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions.
      Parameters:
      compiler - The Compiler which is creating this expression.
      opPos - The position of this iterator in the opcode list from the compiler.
      Throws:
      TransformerException - if any
  • Method Details

    • isDocOrdered

      public boolean isDocOrdered()
      Returns true if all the nodes in the iteration well be returned in document order.
      Specified by:
      isDocOrdered in interface DTMIterator
      Overrides:
      isDocOrdered in class LocPathIterator
      Returns:
      true if all the nodes in the iteration well be returned in document order.