1 /*
2 * $Id: IColumnIterator.java,v 1.1 2007/04/20 13:43:05 oeuillot Exp $
3 *
4 */
5 package org.rcfaces.core.component.iterator;
6
7 import java.util.NoSuchElementException;
8
9 import javax.faces.component.UIColumn;
10
11 /**
12 * An iterator over a collection of UIColumns.
13 *
14 * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
15 * @version $Revision: 1.1 $ $Date: 2007/04/20 13:43:05 $
16 */
17 public interface IColumnIterator extends IComponentIterator {
18
19 /**
20 * Returns the next UIColumn in the iteration. Calling this method
21 * repeatedly until the {@link #hasNext()} method returns false will return
22 * each UIColumn in the underlying collection exactly once.
23 *
24 * @return the next UIColumn in the iteration.
25 * @exception NoSuchElementException
26 * iteration has no more DataColumnComponents.
27 */
28 UIColumn next();
29
30 /**
31 * Returns an array containing all of the UIColumns in this list in proper
32 * sequence.
33 *
34 * @return an array containing all of the UIColumns in this list in proper
35 * sequence.
36 */
37 UIColumn[] toArray();
38 }