public static final class Navigator.AncestorEnumeration extends AxisIteratorImpl
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor and Description |
---|
Navigator.AncestorEnumeration(NodeInfo start,
boolean includeSelf)
Create an iterator over the ancestor or ancestor-or-self axis
|
Modifier and Type | Method and Description |
---|---|
AxisIterator |
getAnother()
Get another iterator over the same sequence of items, positioned at the
start of the sequence.
|
NodeInfo |
next()
Get the next item in the sequence.
|
close, getProperties
public Navigator.AncestorEnumeration(NodeInfo start, boolean includeSelf)
start
- the initial context nodeincludeSelf
- true if the "self" node is to be includedpublic final NodeInfo next()
UnfailingIterator
public AxisIterator getAnother()
UnfailingIterator
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.