|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.binding.convert.service.RuntimeBindingConversionExecutor
public class RuntimeBindingConversionExecutor
A conversion executor that doesn't resolve its converter until its time to perform a conversion.
| Constructor Summary | |
|---|---|
RuntimeBindingConversionExecutor(Class targetClass,
ConversionService conversionService)
Creates a new runtime binding conversion executor. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuntimeBindingConversionExecutor(Class targetClass,
ConversionService conversionService)
targetClass - the target type to convert toconversionService - the conversion service to get converters from| Method Detail |
|---|
public Class getSourceClass()
ConversionExecutor
getSourceClass in interface ConversionExecutorpublic Class getTargetClass()
ConversionExecutor
getTargetClass in interface ConversionExecutorpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
public Object execute(Object source)
throws ConversionExecutionException
ConversionExecutor
execute in interface ConversionExecutorsource - the source object to convert
ConversionExecutionException
public Object execute(Object source,
Object context)
throws ConversionExecutionException
ConversionExecutionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||