Xindice API
version 1.2m1

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:
$Revision: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $

Method Summary
 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 Object getNextNode()
getNextNode returns the next Node from the NodeSet.

Returns:
The next Node

Xindice API
version 1.2m1

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