org.chwf.plugin.defaults
Class DefaultOptionLister

java.lang.Object
  |
  +--org.chwf.plugin.OptionLister
        |
        +--org.chwf.plugin.defaults.DefaultOptionLister

public class DefaultOptionLister
extends OptionLister

A default option lister plugin implementation that retrieves list data from the Config class.

Author:
Paul Strack

Fields inherited from class org.chwf.plugin.OptionLister
OPTION_LISTER_ID
 
Constructor Summary
DefaultOptionLister()
           
 
Method Summary
 java.util.Map loadOptionList(java.lang.Class beanClass, java.lang.String property)
          Load the option list for a JavaBean's property.
 
Methods inherited from class org.chwf.plugin.OptionLister
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOptionLister

public DefaultOptionLister()
Method Detail

loadOptionList

public java.util.Map loadOptionList(java.lang.Class beanClass,
                                    java.lang.String property)
                             throws ConversionException
Load the option list for a JavaBean's property.

Overrides:
loadOptionList in class OptionLister
Parameters:
beanClass - The class in question.
property - The property.
Returns:
The list of options.
Throws:
ConversionException - If type conversions fail.


Copyright © 2002-2004, Paul Strack. All Rights Reserved.