|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValueConverter
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 | |
|---|---|
Object |
coerceValue(Object value,
Class desiredType)
Performs a conversion of a value to a particular type. |
| Method Detail |
|---|
Object coerceValue(Object value,
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 | |||||||||