public final class ConverterFacade extends java.lang.Object implements Converter
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.Constructor and Description |
---|
ConverterFacade(Converter converter)
Construct a converter which delegates to the specified
Converter implementation. |
Modifier and Type | Method and Description |
---|---|
<T> T |
convert(java.lang.Class<T> type,
java.lang.Object value)
Convert the input object into an output object of the
specified type by delegating to the underlying
Converter
implementation. |
java.lang.String |
toString()
Provide a String representation of this facade implementation
sand the underlying
Converter it delegates to. |
private final Converter converter
public <T> T convert(java.lang.Class<T> type, java.lang.Object value)
Converter
implementation.public java.lang.String toString()
Converter
it delegates to.toString
in class java.lang.Object
Converter
it delegates toCopyright (c) 2000-2008 - Apache Software Foundation