Class FilteredStepIterator

  extended by org.apache.xml.dtm.ref.DTMAxisIteratorBase
      extended by org.apache.xalan.xsltc.dom.StepIterator
          extended by org.apache.xalan.xsltc.dom.FilteredStepIterator
All Implemented Interfaces:
java.lang.Cloneable, DTMAxisIterator

public final class FilteredStepIterator
extends StepIterator

Extends a StepIterator by adding the ability to filter nodes. It uses filters similar to those of a FilterIterator.

Field Summary
private  Filter _filter
Fields inherited from class org.apache.xalan.xsltc.dom.StepIterator
_iterator, _source
Fields inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase
_includeSelf, _isRestartable, _last, _markedNode, _position, _startNode
Fields inherited from interface org.apache.xml.dtm.DTMAxisIterator
Constructor Summary
FilteredStepIterator(DTMAxisIterator source, DTMAxisIterator iterator, Filter filter)
Method Summary
 int next()
          Get the next node in the iteration.
Methods inherited from class org.apache.xalan.xsltc.dom.StepIterator
cloneIterator, gotoMark, reset, setMark, setRestartable, setStartNode
Methods inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase
getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, resetPosition, returnNode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


private Filter _filter
Constructor Detail


public FilteredStepIterator(DTMAxisIterator source,
                            DTMAxisIterator iterator,
                            Filter filter)
Method Detail


public int next()
Description copied from interface: DTMAxisIterator
Get the next node in the iteration.

Specified by:
next in interface DTMAxisIterator
next in class StepIterator
The next node handle in the iteration, or END.