|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.beanutils.converters.ConverterFacade
public final class ConverterFacade
Provides a facade for Converter
implementations
preventing access to any public API in the implementation,
other than that specified by Converter
.
Converter
implementations that provide configuration options from being
retrieved and modified.
Constructor Summary | |
---|---|
ConverterFacade(Converter converter)
Construct a converter which delegates to the specified Converter implementation. |
Method Summary | |
---|---|
java.lang.Object |
convert(java.lang.Class 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConverterFacade(Converter converter)
Converter
implementation.
converter
- The converter to delegate toMethod Detail |
---|
public java.lang.Object convert(java.lang.Class type, java.lang.Object value)
Converter
implementation.
convert
in interface Converter
type
- Data type to which this value should be convertedvalue
- The input value to be converted
public java.lang.String toString()
Converter
it delegates to.
toString
in class java.lang.Object
Converter
it delegates to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |