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
TypeConverterContributionplus 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
TypeConverterContributions. |
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)
TypeConverterconvertValue in interface TypeConvertervalue - the value to be converted (which may be null)public void setContributions(java.util.List contributions)
TypeConverterContributions.public void setNullConverter(TypeConverter nullConverter)