org.apache.myfaces.util
Class ViewIterator
java.lang.Object
org.apache.myfaces.util.ViewIterator
- Iterator
public class ViewIterator
extends java.lang.Object
implements Iterator
Iterates over a view structure, i.e. a component tree, in a
depth first manner.
$Revision: 167257 $ $Date: 2004-10-13 13:51:02 +0200 (Wed, 13 Oct 2004) $- Manfred Geiler (latest modification by $Author: matze $)
ViewIterator
public ViewIterator(UIComponent root)
root
- the root of the view structure to iterate over
hasNext
public boolean hasNext()
next
public Object next()
- the next component in the view. The first element is always the given root
component.
remove
public void remove()