|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--ilog.server.jsds.IlsClassConverter
Repository of converters (convert object into another class).
| Method Summary | |
static java.lang.Object |
Convert(java.lang.Object from,
java.lang.Class to)
Try to convert an object to another class. |
static void |
Register(java.lang.Class from,
java.lang.Class to,
IlsConverter converter)
Register a new type of convertion. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.lang.Object Convert(java.lang.Object from,
java.lang.Class to)
from - Original object.to - Class to convert the original object.to or null if
no converter is registered for this conversion.Register(java.lang.Class, java.lang.Class, ilog.server.jsds.IlsConverter)
public static void Register(java.lang.Class from,
java.lang.Class to,
IlsConverter converter)
from - Original class of the convertion.to - Destination class of the convertion.converter - Convertion to apply.IlsConverter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||