public static final class Navigator.DescendantEnumeration extends AxisIteratorImpl
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor and Description |
---|
Navigator.DescendantEnumeration(NodeInfo start,
boolean includeSelf,
boolean forwards)
Create an iterator over the descendant or descendant-or-self axis
|
Modifier and Type | Method and Description |
---|---|
void |
advance() |
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.DescendantEnumeration(NodeInfo start, boolean includeSelf, boolean forwards)
start
- the initial context nodeincludeSelf
- true if the "self" node is to be includedforwards
- true for a forwards iteration, false for reverse orderpublic final NodeInfo next()
UnfailingIterator
public void advance()
public AxisIterator getAnother()
UnfailingIterator
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.