org.exist.dom
Interface NodeSetIterator

All Superinterfaces:
java.util.Iterator

public interface NodeSetIterator
extends java.util.Iterator

An iterator on a node set. Extends the Iterator interface with an additional method to reposition the iterator.

Author:
wolf

Method Summary
 void setPosition(NodeProxy proxy)
          Reposition the iterator on the given NodeProxy, so calling Iterator.next() will return this NodeProxy.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

setPosition

public void setPosition(NodeProxy proxy)
Reposition the iterator on the given NodeProxy, so calling Iterator.next() will return this NodeProxy. If the node does not exist in the node set, the iterator will be positioned to the end of the set.

Parameters:
proxy -


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.