| java.lang.Object org.apache.commons.beanutils.converters.ConverterFacade
ConverterFacade | final public class ConverterFacade implements Converter(Code) | | Provides a facade for
Converter implementations
preventing access to any public API in the implementation,
other than that specified by
Converter .
This implementation can be used to prevent registered
Converter implementations that provide configuration options from being
retrieved and modified.
version: $Revision: 552084 $ $Date: 2007-06-30 04:04:13 +0100 (Sat, 30 Jun 2007) $ since: 1.8.0 |
Method Summary | |
public Object | convert(Class type, Object value) Convert the input object into an output object of the
specified type by delegating to the underlying
Converter implementation. | public String | toString() Provide a String representation of this facade implementation
sand the underlying
Converter it delegates to. |
ConverterFacade | public ConverterFacade(Converter converter)(Code) | | Construct a converter which delegates to the specified
Converter implementation.
Parameters: converter - The converter to delegate to |
convert | public Object convert(Class type, Object value)(Code) | | Convert the input object into an output object of the
specified type by delegating to the underlying
Converter implementation.
Parameters: type - Data type to which this value should be converted Parameters: value - The input value to be converted The converted value. |
toString | public String toString()(Code) | | Provide a String representation of this facade implementation
sand the underlying
Converter it delegates to.
A String representation of this facade implementationsand the underlying Converter it delegates to |
|
|