net.sf.saxon.tinytree

Class AncestorEnumeration

final class AncestorEnumeration extends AxisIteratorImpl

This class enumerates the ancestor:: or ancestor-or-self:: axes, starting at a given node. The start node will never be the root.
Constructor Summary
AncestorEnumeration(TinyNodeImpl node, NodeTest nodeTest, boolean includeSelf)
Method Summary
SequenceIteratorgetAnother()
Get another enumeration of the same nodes
Itemnext()

Constructor Detail

AncestorEnumeration

public AncestorEnumeration(TinyNodeImpl node, NodeTest nodeTest, boolean includeSelf)

Method Detail

getAnother

public SequenceIterator getAnother()
Get another enumeration of the same nodes

next

public Item next()