org.apache.xalan.xsltc.dom
Class CurrentNodeListIterator
java.lang.Object
|
+--org.apache.xml.dtm.ref.DTMAxisIteratorBase
|
+--org.apache.xalan.xsltc.dom.CurrentNodeListIterator
- public final class CurrentNodeListIterator
- extends DTMAxisIteratorBase
Iterators of this kind use a CurrentNodeListFilter to filter a subset of
nodes from a source iterator. For each node from the source, the boolean
method CurrentNodeListFilter.test() is called.
All nodes from the source are read into an array upon calling setStartNode()
(this is needed to determine the value of last, a parameter to
CurrentNodeListFilter.test()). The method getLast() returns the last element
after applying the filter.
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CurrentNodeListIterator
public CurrentNodeListIterator(DTMAxisIterator source,
CurrentNodeListFilter filter,
int currentNode,
AbstractTranslet translet)
CurrentNodeListIterator
public CurrentNodeListIterator(DTMAxisIterator source,
boolean docOrder,
CurrentNodeListFilter filter,
int currentNode,
AbstractTranslet translet)
forceNaturalOrder
public DTMAxisIterator forceNaturalOrder()
setRestartable
public void setRestartable(boolean isRestartable)
- Overrides:
- setRestartable in class DTMAxisIteratorBase
isReverse
public boolean isReverse()
- Overrides:
- isReverse in class DTMAxisIteratorBase
cloneIterator
public DTMAxisIterator cloneIterator()
- Overrides:
- cloneIterator in class DTMAxisIteratorBase
reset
public DTMAxisIterator reset()
- Overrides:
- reset in class DTMAxisIteratorBase
next
public int next()
setStartNode
public DTMAxisIterator setStartNode(int node)
getLast
public int getLast()
- Overrides:
- getLast in class DTMAxisIteratorBase
setMark
public void setMark()
gotoMark
public void gotoMark()
Copyright © 2006 Apache XML Project. All Rights Reserved.