public static class Navigator.AxisFilter extends AxisIteratorImpl
current, position
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor and Description |
---|
Navigator.AxisFilter(AxisIterator base,
NodeTest test)
Construct a AxisFilter
|
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.
|
atomize, close, current, getProperties, getStringValue, iterateAxis, moveNext, position
public Navigator.AxisFilter(AxisIterator base, NodeTest test)
base
- the underlying iterator that returns all the nodes on
a required axis. This must not be an atomizing iterator!test
- a NodeTest that is applied to each node returned by the
underlying AxisIterator; only those nodes that pass the NodeTest are
returned by the AxisFilterpublic NodeInfo next()
UnfailingIterator
public AxisIterator getAnother()
UnfailingIterator
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.