org.apache.lenya.cms.site
Class NodeIterator

java.lang.Object
  extended by org.apache.lenya.cms.site.NodeIterator

public class NodeIterator
extends java.lang.Object

Node iterator.


Constructor Summary
NodeIterator(java.util.Collection collection)
           
NodeIterator(SiteNode[] nodes)
           
 
Method Summary
 boolean hasNext()
           
 SiteNode next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeIterator

public NodeIterator(java.util.Collection collection)
Parameters:
collection - The collection to iterate over.

NodeIterator

public NodeIterator(SiteNode[] nodes)
Parameters:
nodes - The nodes to iterate over.
Method Detail

next

public SiteNode next()
Returns:
A site node.
See Also:
Iterator.next()

hasNext

public boolean hasNext()
Returns:
A boolean value.
See Also:
Iterator.hasNext()


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.