org.apache.xalan.xsltc.dom

Class FilteredStepIterator

Implemented Interfaces:
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.
Authors:
Jacek Ambroziak
Santiago Pericas-Geertsen
Morten Jorgensen

Fields inherited from interface org.apache.xml.dtm.DTMAxisIterator

END

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, next, reset, setMark, setRestartable, setStartNode

Methods inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase

cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, reset, setRestartable

Constructor Details

FilteredStepIterator

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

Method Details

next

public int next()
Get the next node in the iteration.
Specified by:
next in interface DTMAxisIterator
Overrides:
next in interface StepIterator
Returns:
The next node handle in the iteration, or END.

Copyright B) 2004 Apache XML Project. All Rights Reserved.