org.apache.xalan.xsltc.dom

Class SingletonIterator

Implemented Interfaces:
Cloneable, DTMAxisIterator

public class SingletonIterator
extends DTMAxisIteratorBase

Authors:
Jacek Ambroziak
Santiago Pericas-Geertsen

Fields inherited from interface org.apache.xml.dtm.DTMAxisIterator

END

Constructor Summary

SingletonIterator()
SingletonIterator(int node)
SingletonIterator(int node, boolean constant)

Method Summary

void
gotoMark()
int
next()
DTMAxisIterator
reset()
void
setMark()
DTMAxisIterator
setStartNode(int node)
Override the value of _node only when this object was constructed using the empty constructor.

Methods inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase

cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, reset, setRestartable

Constructor Details

SingletonIterator

public SingletonIterator()


SingletonIterator

public SingletonIterator(int node)


SingletonIterator

public SingletonIterator(int node,
                         boolean constant)

Method Details

gotoMark

public void gotoMark()
Specified by:
gotoMark in interface DTMAxisIterator


next

public int next()
Specified by:
next in interface DTMAxisIterator


reset

public DTMAxisIterator reset()
Specified by:
reset in interface DTMAxisIterator
Overrides:
reset in interface DTMAxisIteratorBase


setMark

public void setMark()
Specified by:
setMark in interface DTMAxisIterator


setStartNode

public DTMAxisIterator setStartNode(int node)
Override the value of _node only when this object was constructed using the empty constructor.
Specified by:
setStartNode in interface DTMAxisIterator


Copyright B) 2004 Apache XML Project. All Rights Reserved.