Class AncestorIterator

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, SequenceIterator, AxisIterator, UnfailingIterator

    public final class AncestorIterator
    extends java.lang.Object
    implements AxisIterator
    This class enumerates the ancestor:: or ancestor-or-self:: axes, starting at a given node. The start node will never be the root.