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: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 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 |
list
public org.w3c.dom.NodeList list
idx
public int idx
NodeListSet
public NodeListSet(org.w3c.dom.NodeList list)
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
- 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
- Returns:
- The next Node
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.