public interface ValueConverter
Typically, a ValueConverter will select a particular
TypeConverterto perform the conversion. The
ValueConverterImplimplementation also makes use of built-in
PropertyEditors.
| 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.
|
java.lang.Object coerceValue(java.lang.Object value, java.lang.Class desiredType)
value - The value to be converted (may be null)desiredType - the type that will be converted toorg.apache.hivemind.ApplicationRuntimeException - if the value can not be converted