org.apache.xalan.xsltc.dom
Class AbsoluteIterator
java.lang.Object
|
+--org.apache.xml.dtm.ref.DTMAxisIteratorBase
|
+--org.apache.xalan.xsltc.dom.AbsoluteIterator
- public final class AbsoluteIterator
- extends DTMAxisIteratorBase
Absolute iterators ignore the node that is passed to setStartNode().
Instead, they always start from the root node. The node passed to
setStartNode() is not totally useless, though. It is needed to obtain the
DOM mask, i.e. the index into the MultiDOM table that corresponds to the
DOM "owning" the node.
The DOM mask is cached, so successive calls to setStartNode() passing
nodes from other DOMs will have no effect (i.e. this iterator cannot
migrate between DOMs).
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AbsoluteIterator
public AbsoluteIterator(DTMAxisIterator source)
setRestartable
public void setRestartable(boolean isRestartable)
- Overrides:
- setRestartable in class DTMAxisIteratorBase
setStartNode
public DTMAxisIterator setStartNode(int node)
next
public int next()
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 © 2003 Apache XML Project. All Rights Reserved.