Xindice API
version 1.1

org.apache.xindice.core.query
Class NodeListSet

java.lang.Object
  |
  +--org.apache.xindice.core.query.NodeListSet
All Implemented Interfaces:
NodeSet

public final class NodeListSet
extends Object
implements NodeSet

NodeListSet is a simple NodeList wrapper

Version:
$Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $

Field Summary
 int idx
           
 org.w3c.dom.NodeList list
           
 
Constructor Summary
NodeListSet(org.w3c.dom.NodeList list)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

public org.w3c.dom.NodeList list

idx

public int idx
Constructor Detail

NodeListSet

public NodeListSet(org.w3c.dom.NodeList list)
Method Detail

hasMoreNodes

public boolean hasMoreNodes()
Description copied from interface: NodeSet
hasMoreNodes returns whether or not there are any Nodes remaining in the NodeSet.
Specified by:
hasMoreNodes in interface NodeSet
Following copied from interface: org.apache.xindice.core.data.NodeSet
Returns:
Whether there are any more Nodes

getNextNode

public Object getNextNode()
Description copied from interface: NodeSet
getNextNode returns the next Node from the NodeSet.
Specified by:
getNextNode in interface NodeSet
Following copied from interface: org.apache.xindice.core.data.NodeSet
Returns:
The next Node

Xindice API
version 1.1

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