|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.om.AxisIteratorImpl
net.sf.saxon.om.Navigator.AxisFilter
public static class 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, position |
Fields inherited from interface net.sf.saxon.om.SequenceIterator |
---|
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD |
Constructor Summary | |
---|---|
Navigator.AxisFilter(AxisIterator base,
NodeTest test)
S Construct a AxisFilter |
Method Summary | |
---|---|
SequenceIterator |
getAnother()
Get another SequenceIterator that iterates over the same items as the original, but which is repositioned at the start of the sequence. |
Item |
next()
Get the next item in the sequence. |
Methods inherited from class net.sf.saxon.om.AxisIteratorImpl |
---|
atomize, close, current, getProperties, getStringValue, iterateAxis, moveNext, 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 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 AxisFilterMethod Detail |
---|
public Item next()
SequenceIterator
public SequenceIterator getAnother()
SequenceIterator
This method allows access to all the items in the sequence without disturbing the current position of the iterator. Internally, its main use is in evaluating the last() function.
This method does not change the state of the iterator.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |