net.sf.saxon.om

Class Navigator.AxisFilter

public static class Navigator.AxisFilter extends AxisIteratorImpl

AxisFilter is an iterator that applies a NodeTest filter to the nodes returned by an underlying AxisIterator.
Constructor Summary
AxisFilter(AxisIterator base, NodeTest test)
Construct a AxisFilter
Method Summary
SequenceIteratorgetAnother()
Itemnext()

Constructor Detail

AxisFilter

public AxisFilter(AxisIterator base, NodeTest test)
Construct a AxisFilter

Parameters: 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 AxisFilter

Method Detail

getAnother

public SequenceIterator getAnother()

next

public Item next()