|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type in which the provided value has to be converted@Role public interface Converter<T>
Converter provided value in the provided target type.
The type supported by the converted is indicated in its role.
For example:
@Component public class IntegerConverter implements Converter<java.lang.Integer>
When something goes wrong a Converter can throw a ConversionException.
| Method Summary | ||
|---|---|---|
|
convert(Type targetType,
Object sourceValue)
|
|
| Method Detail |
|---|
<G> G convert(Type targetType,
Object sourceValue)
G - the type in which the provided value has to be convertedtargetType - the type in which the provided value has to be convertedsourceValue - the value to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||