|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.coerce.TypeConverterWrapper
public final class TypeConverterWrapper
A service implementation that works around an
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 Summary | |
|---|---|
TypeConverterWrapper()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeConverterWrapper()
| Method Detail |
|---|
public void initializeService()
public java.lang.Object convertValue(java.lang.Object value)
TypeConverter
convertValue 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||