org.springframework.core.convert.converter
Interface ConverterInfo


public interface ConverterInfo

A meta interface a Converter may implement to describe what types he can convert between. Implementing this interface is required when registering converters that do not declare their parameterized types S and T with a ConversionService.

Since:
3.0
Author:
Keith Donald
See Also:
Converter

Method Summary
 Class<?> getSourceType()
          The source type the converter converts from.
 Class<?> getTargetType()
          The target type the converter converts to.
 

Method Detail

getSourceType

Class<?> getSourceType()
The source type the converter converts from.


getTargetType

Class<?> getTargetType()
The target type the converter converts to.