org.apache.beehive.netui.util.type
Class DelegatingTypeConverter

Object
  extended by BaseTypeConverter
      extended by DelegatingTypeConverter

public final class DelegatingTypeConverter
extends BaseTypeConverter

Implementation of the TypeConverter interface that delegates to a TypeConverter implementation which doesn't extend BaseTypeConverter.


Constructor Summary
DelegatingTypeConverter(TypeConverter converter)
           
 
Method Summary
 Object convertToObject(Class type, String value, Locale locale)
          Convert the String to a type, optinally using the given locale.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingTypeConverter

public DelegatingTypeConverter(TypeConverter converter)
Method Detail

convertToObject

public Object convertToObject(Class type,
                              String value,
                              Locale locale)
Description copied from class: BaseTypeConverter
Convert the String to a type, optinally using the given locale.

Overrides:
convertToObject in class BaseTypeConverter