Class PrecedingEnumeration

java.lang.Object
net.sf.saxon.tree.TreeEnumeration
net.sf.saxon.tree.PrecedingEnumeration
All Implemented Interfaces:
AxisIterator, LookaheadIterator, SequenceIterator

final class PrecedingEnumeration extends TreeEnumeration
  • Field Details

  • Constructor Details

    • PrecedingEnumeration

      public PrecedingEnumeration(NodeImpl node, NodeTest nodeTest)
  • Method Details

    • conforms

      protected boolean conforms(NodeImpl node)
      Special code to skip the ancestors of the start node
      Overrides:
      conforms in class TreeEnumeration
    • step

      protected void step()
      Description copied from class: TreeEnumeration
      Advance one step along the axis: the resulting node might not meet the required criteria for inclusion
      Specified by:
      step in class TreeEnumeration
    • getAnother

      public SequenceIterator getAnother()
      Get another enumeration of the same nodes
      Returns:
      a new iterator over the same sequence