Spring Web Flow

org.springframework.binding.convert
Interface ConversionExecutor

All Known Implementing Classes:
RuntimeBindingConversionExecutor, StaticConversionExecutor

public interface ConversionExecutor

A command object that is parameterized with the information necessary to perform a conversion of a source input to a target output. Encapsulates knowledge about how to convert source objects to a specific target type using a specific converter.

Author:
Keith Donald

Method Summary
 java.lang.Object execute(java.lang.Object source)
          Execute the conversion for the provided source object.
 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.
 

Method Detail

getSourceClass

java.lang.Class<?> getSourceClass()
Returns the source class of conversions performed by this executor.

Returns:
the source class

getTargetClass

java.lang.Class<?> getTargetClass()
Returns the target class of conversions performed by this executor.

Returns:
the target class

execute

java.lang.Object execute(java.lang.Object source)
                         throws ConversionExecutionException
Execute the conversion for the provided source object.

Parameters:
source - the source object to convert
Throws:
ConversionExecutionException

Spring Web Flow