|
|||||||||
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(java.lang.Class targetClass,
ConversionService conversionService)
Creates a new runtime binding conversion executor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
execute(java.lang.Object source)
Execute the conversion for the provided source object. |
java.lang.Object |
execute(java.lang.Object source,
java.lang.Object context)
|
java.lang.Class |
getSourceClass()
Returns the source class of conversions performed by this executor. |
java.lang.Class |
getTargetClass()
Returns the target class of conversions performed by this executor. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuntimeBindingConversionExecutor(java.lang.Class targetClass, ConversionService conversionService)
targetClass
- the target type to convert toconversionService
- the conversion service to get converters fromMethod Detail |
---|
public java.lang.Class getSourceClass()
ConversionExecutor
getSourceClass
in interface ConversionExecutor
public java.lang.Class getTargetClass()
ConversionExecutor
getTargetClass
in interface ConversionExecutor
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object execute(java.lang.Object source) throws ConversionExecutionException
ConversionExecutor
execute
in interface ConversionExecutor
source
- the source object to convert
ConversionExecutionException
public java.lang.Object execute(java.lang.Object source, java.lang.Object context) throws ConversionExecutionException
ConversionExecutionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |