Class SAX2DTM2.PrecedingIterator

All Implemented Interfaces:
Cloneable, DTMAxisIterator
Direct Known Subclasses:
SAX2DTM2.TypedPrecedingIterator
Enclosing class:
SAX2DTM2

public class SAX2DTM2.PrecedingIterator
extends DTMDefaultBaseIterators.InternalAxisIteratorBase
Iterator that returns preceding nodes of a given node. This includes the node set {root+1, start-1}, but excludes all ancestors, attributes, and namespace nodes.
  • Field Details

    • _stack

      protected int[] _stack
      The stack of start node + ancestors up to the root of the tree, which we must avoid.
    • _sp

      protected int _sp
      (not sure yet... -sb)
    • _oldsp

      protected int _oldsp
      (not sure yet... -sb)
    • _markedsp

      protected int _markedsp
    • _markedNode

      protected int _markedNode
    • _markedDescendant

      protected int _markedDescendant
  • Constructor Details

    • PrecedingIterator

      public PrecedingIterator()
  • Method Details