public class ValueConverterImpl extends java.lang.Object implements ValueConverter
ValueConverter. Selects an appropriate type
converter and delegates to it.| Modifier and Type | Field and Description |
|---|---|
java.util.List |
_contributions
List of
TypeConverterContribution. |
| Constructor and Description |
|---|
ValueConverterImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
coerceValue(java.lang.Object value,
java.lang.Class desiredType)
Performs a conversion of a value to a particular type.
|
void |
initializeService() |
void |
setContributions(java.util.List contributions) |
public java.util.List _contributions
TypeConverterContribution.public ValueConverterImpl()
public void initializeService()
public java.lang.Object coerceValue(java.lang.Object value, java.lang.Class desiredType)
ValueConvertercoerceValue in interface ValueConvertervalue - The value to be converted (may be null)desiredType - the type that will be converted topublic void setContributions(java.util.List contributions)