org.apache.xalan.xsltc.dom

Class 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).

Author: Jacek Ambroziak Santiago Pericas-Geertsen

Constructor Summary
AbsoluteIterator(DTMAxisIterator source)
Method Summary
DTMAxisIteratorcloneIterator()
voidgotoMark()
intnext()
DTMAxisIteratorreset()
voidsetMark()
voidsetRestartable(boolean isRestartable)
DTMAxisIteratorsetStartNode(int node)

Constructor Detail

AbsoluteIterator

public AbsoluteIterator(DTMAxisIterator source)

Method Detail

cloneIterator

public DTMAxisIterator cloneIterator()

gotoMark

public void gotoMark()

next

public int next()

reset

public DTMAxisIterator reset()

setMark

public void setMark()

setRestartable

public void setRestartable(boolean isRestartable)

setStartNode

public DTMAxisIterator setStartNode(int node)
Copyright B) 2005 Apache XML Project. All Rights Reserved.