org.springframework.core.convert.converter
Interface ConverterRegistry

All Known Implementing Classes:
DefaultConversionService, FormattingConversionServiceAdapter, GenericConversionService

public interface ConverterRegistry

For registering converters with a type conversion system.

Since:
3.0
Author:
Keith Donald

Method Summary
 void addConverter(Converter<?,?> converter)
          Add a converter to this registry.
 void addConverterFactory(ConverterFactory<?,?> converterFactory)
          Add a ranged converter factory to this registry.
 void removeConvertible(Class<?> sourceType, Class<?> targetType)
          Remove the conversion logic for the sourceType to the targetType.
 

Method Detail

addConverter

void addConverter(Converter<?,?> converter)
Add a converter to this registry.


addConverterFactory

void addConverterFactory(ConverterFactory<?,?> converterFactory)
Add a ranged converter factory to this registry.


removeConvertible

void removeConvertible(Class<?> sourceType,
                       Class<?> targetType)
Remove the conversion logic for the sourceType to the targetType.

Parameters:
sourceType - the source type
targetType - the target type