|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.om.AxisIteratorImpl | +--net.sf.saxon.om.Navigator.AxisFilter
AxisFilter is an iterator that applies a NodeTest filter to the nodes returned by an underlying AxisIterator.
Field Summary |
Fields inherited from class net.sf.saxon.om.AxisIteratorImpl |
current, last, position |
Constructor Summary | |
Navigator.AxisFilter(AxisIterator base,
NodeTest test)
Construct a AxisFilter |
Method Summary | |
void |
advance()
|
SequenceIterator |
getAnother()
Get another SequenceIterator that iterates over the same items as the original, but which is repositioned at the start of the sequence. |
int |
getLastPosition()
|
boolean |
hasNext()
Determine whether there are more nodes to come. |
Item |
next()
Get the next node in sequence. |
Methods inherited from class net.sf.saxon.om.AxisIteratorImpl |
current, position |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Navigator.AxisFilter(AxisIterator base, NodeTest test)
base
- the underlying iterator that returns all the nodes on
a required axistest
- a NodeTest that is applied to each node returned by the
underlying AxisIterator; only those nodes that pass the NodeTest are
returned by the AxisFilterMethod Detail |
public void advance()
public Item next()
AxisIteratorImpl
next
in interface AxisIterator
next
in class AxisIteratorImpl
public boolean hasNext()
AxisIteratorImpl
hasNext
in interface AxisIterator
hasNext
in class AxisIteratorImpl
public int getLastPosition()
public SequenceIterator getAnother()
SequenceIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |