org.araneaframework.backend.list.helper
Class StandardValueConverter

java.lang.Object
  extended byorg.araneaframework.backend.list.helper.StandardValueConverter
All Implemented Interfaces:
ValueConverter

public class StandardValueConverter
extends Object
implements ValueConverter

ValueConverter that has a map of Value names and their Converter objects.

Since:
1.1
Author:
Rein Raudjärv
See Also:
Converter

Constructor Summary
StandardValueConverter()
           
 
Method Summary
 void addConverter(String valueName, Converter converter)
           
 Object convert(Value value)
          Converts the Value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardValueConverter

public StandardValueConverter()
Method Detail

addConverter

public void addConverter(String valueName,
                         Converter converter)

convert

public Object convert(Value value)
Description copied from interface: ValueConverter
Converts the Value.

Specified by:
convert in interface ValueConverter
Parameters:
value - the Value.
Returns:
the converted value.