|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeConverter
A TypeConverter
is used when actually calling the
handler method or actually returning the result object. It's
purpose is to convert a single parameter or the return value
from a generic representation (for example an array of objects)
to an alternative representation, which is actually used in
the methods signature (for example List
, or
Vector
.
Method Summary | |
---|---|
java.lang.Object |
backConvert(java.lang.Object result)
Converts the given object into its generic representation. |
java.lang.Object |
convert(java.lang.Object pObject)
Converts the given object into the required representation. |
boolean |
isConvertable(java.lang.Object pObject)
Returns, whether the TypeConverter is
ready to handle the given object. |
Method Detail |
---|
boolean isConvertable(java.lang.Object pObject)
TypeConverter
is
ready to handle the given object. If so,
convert(Object)
may be called.
java.lang.Object convert(java.lang.Object pObject)
java.lang.Object backConvert(java.lang.Object result)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |