public final class TypeConverterWrapper extends java.lang.Object implements TypeConverter
StrategyRegistry
. The registry is contructed from a
configuration that follows the tapestry.coerce.Converters
schema (a List of
TypeConverterContribution
plus an additional converter for
nulls.Constructor and Description |
---|
TypeConverterWrapper() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convertValue(java.lang.Object value)
Converts the value.
|
void |
initializeService() |
void |
setContributions(java.util.List contributions)
Sets the List of
TypeConverterContribution s. |
void |
setNullConverter(TypeConverter nullConverter)
Sets the converter used to convert null.
|
public TypeConverterWrapper()
public void initializeService()
public java.lang.Object convertValue(java.lang.Object value)
TypeConverter
convertValue
in interface TypeConverter
value
- the value to be converted (which may be null)public void setContributions(java.util.List contributions)
TypeConverterContribution
s.public void setNullConverter(TypeConverter nullConverter)