FileDocCategorySizeDatePackage
NodeIterator.javaAPI DocJava SE 6 API2084Tue Jun 10 00:22:26 BST 2008com.sun.org.apache.xalan.internal.xsltc

NodeIterator

public interface NodeIterator implements Cloneable
author
Jacek Ambroziak
author
Santiago Pericas-Geertsen

Fields Summary
public static final int
END
Constructors Summary
Methods Summary
public com.sun.org.apache.xalan.internal.xsltc.NodeIteratorcloneIterator()
Returns a deep copy of this iterator.

public intgetLast()
Returns the number of elements in this iterator.

public intgetPosition()
Returns the position of the current node in the set.

public voidgotoMark()
Restores the current node remembered by setMark().

public booleanisReverse()
True if this iterator has a reversed axis.

public intnext()
Callers should not call next() after it returns END.

public com.sun.org.apache.xalan.internal.xsltc.NodeIteratorreset()
Resets the iterator to the last start node.

public voidsetMark()
Remembers the current node for the next call to gotoMark().

public voidsetRestartable(boolean isRestartable)
Prevents or allows iterator restarts.

public com.sun.org.apache.xalan.internal.xsltc.NodeIteratorsetStartNode(int node)
Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END.