Xindice API
version 1.1b3

org.apache.xindice.core.data
Interface NodeSet

All Known Implementing Classes:
EmptyNodeSet, NodeListSet

public interface NodeSet

NodeSet is an interface for iterating over a set of Nodes. NodeSets are generally returned by the QueryEngine.

Version:
CVS $Revision: 1.4 $, $Date: 2003/08/09 02:33:30 $

Method Summary
 java.lang.Object getNextNode()
          getNextNode returns the next Node from the NodeSet.
 boolean hasMoreNodes()
          hasMoreNodes returns whether or not there are any Nodes remaining in the NodeSet.
 

Method Detail

hasMoreNodes

public boolean hasMoreNodes()
hasMoreNodes returns whether or not there are any Nodes remaining in the NodeSet.
Returns:
Whether there are any more Nodes

getNextNode

public java.lang.Object getNextNode()
getNextNode returns the next Node from the NodeSet.
Returns:
The next Node

Xindice API
version 1.1b3

Copyright (c) 1999-2003 The Apache Software Foundation. All Rights Reserved.