net.sf.saxon.om

Class Navigator.AncestorEnumeration

public static final class Navigator.AncestorEnumeration extends Navigator.BaseEnumeration

General-purpose implementation of the ancestor and ancestor-or-self axes
Constructor Summary
AncestorEnumeration(NodeInfo start, boolean includeSelf)
Create an iterator over the ancestor or ancestor-or-self axis
Method Summary
voidadvance()
SequenceIteratorgetAnother()

Constructor Detail

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 Detail

advance

public void advance()

getAnother

public SequenceIterator getAnother()