|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IBidirectionalConverter<TInternal,TExternal>
A general interface for converters that can do conversion from an internal object representation to an external representation and vice versa.
| Method Summary | |
|---|---|
TExternal |
toExternal(TInternal object)
Converts the given internal object representation to its corresponding external representation. |
TInternal |
toInternal(TExternal object)
Converts the given external object representation to its corresponding internal representation. |
| Method Detail |
|---|
TInternal toInternal(TExternal object)
throws ConversionRuntimeException
object - The external representation of the object to convert (may be null).
ConversionRuntimeException - For any problem that prevented successful object conversion.
TExternal toExternal(TInternal object)
throws ConversionRuntimeException
object - The internal representation of the object to convert (may be null).
ConversionRuntimeException - For any problem that prevented successful object conversion.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||