|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeConvertor
A TypeConvertor is used to convert an object of one type to one of another type. The convertor is invoked with the class of the from object, the desired class, and the from object itself. The convertor must return a new object of the desired class.
TypeConvertorRegistry
Method Summary | |
---|---|
Object |
convert(Class from,
Class to,
Object obj)
|
String |
getCodeGenString()
|
Method Detail |
---|
Object convert(Class from, Class to, Object obj)
String getCodeGenString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |