org.basex.query.xquery.iter
Class NodeNext

java.lang.Object
  extended by org.basex.query.xquery.iter.NodeNext
All Implemented Interfaces:
Iter, NodeIter

public final class NodeNext
extends java.lang.Object
implements NodeIter

Simple iterator.

Author:
Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen

Constructor Summary
NodeNext(NodeBuilder n)
          Constructor.
 
Method Summary
 Node next()
          Returns the next node.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeNext

public NodeNext(NodeBuilder n)
Constructor.

Parameters:
n - nodes
Method Detail

next

public Node next()
Description copied from interface: NodeIter
Returns the next node.

Specified by:
next in interface Iter
Specified by:
next in interface NodeIter
Returns:
node