|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Converts a value (possibly null) to an alternate data type; typically from String to boolean or a number type.
Typically, a ValueConverter will select a particular
TypeConverterto perform the conversion. The
ValueConverterImplimplementation also makes use of built-in
PropertyEditors.
| Method Summary | |
java.lang.Object |
coerceValue(java.lang.Object value,
java.lang.Class desiredType)
Performs a conversion of a value to a particular type. |
| Method Detail |
public 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 to
org.apache.hivemind.ApplicationRuntimeException - if the value can not be converted
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||