Class AncestorIterator

java.lang.Object
net.sf.saxon.tree.tiny.AncestorIterator
All Implemented Interfaces:
Closeable, AutoCloseable, SequenceIterator<NodeInfo>, AxisIterator, UnfailingIterator<NodeInfo>

public final class AncestorIterator extends 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.