public class RuntimeBindingConversionExecutor extends Object implements ConversionExecutor
| Constructor and Description |
|---|
RuntimeBindingConversionExecutor(Class targetClass,
ConversionService conversionService)
Creates a new runtime binding conversion executor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
execute(Object source)
Execute the conversion for the provided source object.
|
Object |
execute(Object source,
Object context) |
Class |
getSourceClass()
Returns the source class of conversions performed by this executor.
|
Class |
getTargetClass()
Returns the target class of conversions performed by this executor.
|
int |
hashCode() |
public RuntimeBindingConversionExecutor(Class targetClass, ConversionService conversionService)
targetClass - the target type to convert toconversionService - the conversion service to get converters frompublic Class getSourceClass()
ConversionExecutorgetSourceClass in interface ConversionExecutorpublic Class getTargetClass()
ConversionExecutorgetTargetClass in interface ConversionExecutorpublic Object execute(Object source) throws ConversionExecutionException
ConversionExecutorexecute in interface ConversionExecutorsource - the source object to convertConversionExecutionExceptionpublic Object execute(Object source, Object context) throws ConversionExecutionException
ConversionExecutionException