View Javadoc

1   package net.sf.chainedoptions;
2   
3   import java.util.List;
4   
5   /***
6    * Interface that provides the operations required for converting beans of some
7    * kind into LabelValueBeans.
8    * 
9    * @see net.sf.chainedoptions.AbstractBeanConverter
10   * @author Mattias Arthursson
11   * @author Ulrik Sandberg
12   */
13  public interface BeanConverter {
14      /***
15       * Convert a list of beans of some sort into a list of LabelValueBean
16       * objects.
17       * 
18       * @param beans
19       *            A list of beans. A bean may be any object, but typically only
20       *            one class is handled by a single BeanConverter implementation.
21       * @return A list of {@link LabelValueBean}objects.
22       */
23      List convert(List beans);
24  }