public interface TwoWayConverter extends Converter
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convertTargetToSourceClass(java.lang.Object target,
java.lang.Class sourceClass)
Convert the provided target object argument to an instance of the specified source class.
|
convertSourceToTargetClass, getSourceClass, getTargetClassjava.lang.Object convertTargetToSourceClass(java.lang.Object target,
java.lang.Class sourceClass)
throws java.lang.Exception
target - the target object to convert, which must be an instance of Converter.getTargetClass()sourceClass - the source class to convert the target to, which must be equal to or a specialization of
Converter.getSourceClass()sourceClassjava.lang.Exception - an exception occurred performing the conversion