Class Navigator.AncestorEnumeration

java.lang.Object
net.sf.saxon.tree.util.Navigator.AncestorEnumeration
All Implemented Interfaces:
Closeable, AutoCloseable, SequenceIterator, AxisIterator, UnfailingIterator
Enclosing class:
Navigator

public static final class Navigator.AncestorEnumeration extends Object implements AxisIterator
General-purpose implementation of the ancestor and ancestor-or-self axes
  • Constructor Details

    • AncestorEnumeration

      public AncestorEnumeration(NodeInfo start, boolean includeSelf)
      Create an iterator over the ancestor or ancestor-or-self axis
      Parameters:
      start - the initial context node
      includeSelf - true if the "self" node is to be included
  • Method Details