View Javadoc

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