org.apache.xalan.xsltc.dom
Class CachedNodeListIterator
java.lang.Object
|
+--org.apache.xml.dtm.ref.DTMAxisIteratorBase
|
+--org.apache.xalan.xsltc.dom.CachedNodeListIterator
- public final class CachedNodeListIterator
- extends DTMAxisIteratorBase
CachedNodeListIterator is used for select expressions in a
variable or parameter. This iterator caches all nodes in an
IntegerArray. Its cloneIterator() method is overridden to
return an object of ClonedNodeListIterator.
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CachedNodeListIterator
public CachedNodeListIterator(DTMAxisIterator source)
setRestartable
public void setRestartable(boolean isRestartable)
- Overrides:
- setRestartable in class DTMAxisIteratorBase
setStartNode
public DTMAxisIterator setStartNode(int node)
next
public int next()
getPosition
public int getPosition()
- Overrides:
- getPosition in class DTMAxisIteratorBase
getNodeByPosition
public int getNodeByPosition(int pos)
- Overrides:
- getNodeByPosition in class DTMAxisIteratorBase
getNode
public int getNode(int index)
cloneIterator
public DTMAxisIterator cloneIterator()
- Overrides:
- cloneIterator in class DTMAxisIteratorBase
reset
public DTMAxisIterator reset()
- Overrides:
- reset in class DTMAxisIteratorBase
setMark
public void setMark()
gotoMark
public void gotoMark()
Copyright © 2006 Apache XML Project. All Rights Reserved.