Class StaticConversionExecutor

java.lang.Object
org.springframework.binding.convert.service.StaticConversionExecutor
All Implemented Interfaces:
ConversionExecutor

public class StaticConversionExecutor extends Object implements ConversionExecutor
A command object that is parameterized with the information necessary to perform a conversion of a source input to a target output.

Specifically, encapsulates knowledge about how to convert source objects to a specific target type using a specific converter.

Author:
Keith Donald
  • Constructor Details

    • StaticConversionExecutor

      public StaticConversionExecutor(Class<?> sourceClass, Class<?> targetClass, Converter converter)
      Creates a conversion executor.
      Parameters:
      sourceClass - the source type that the converter will convert from
      targetClass - the target type that the converter will convert to
      converter - the converter that will perform the conversion
  • Method Details