org.apache.xalan.xsltc.dom
Class AbsoluteIterator
java.lang.Object
|
+--org.apache.xalan.xsltc.dom.NodeIteratorBase
|
+--org.apache.xalan.xsltc.dom.AbsoluteIterator
- public final class AbsoluteIterator
- extends NodeIteratorBase
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(NodeIterator source)
setRestartable
public void setRestartable(boolean isRestartable)
- Overrides:
- setRestartable in class NodeIteratorBase
setStartNode
public NodeIterator setStartNode(int node)
- Overrides:
- setStartNode in class NodeIteratorBase
next
public int next()
cloneIterator
public NodeIterator cloneIterator()
- Overrides:
- cloneIterator in class NodeIteratorBase
reset
public NodeIterator reset()
- Overrides:
- reset in class NodeIteratorBase
setMark
public void setMark()
gotoMark
public void gotoMark()
Copyright © 2002 Apache XML Project. All Rights Reserved.