public interface ConverterRegistry
| Modifier and Type | Method and Description | 
|---|---|
| <S,T> void | addConverter(Class<S> sourceType,
            Class<T> targetType,
            Converter<? super S,? extends T> converter)Add a plain converter to this registry. | 
| void | addConverter(Converter<?,?> converter)Add a plain converter to this registry. | 
| void | addConverter(GenericConverter converter)Add a generic converter to this registry. | 
| void | addConverterFactory(ConverterFactory<?,?> factory)Add a ranged converter factory to this registry. | 
| void | removeConvertible(Class<?> sourceType,
                 Class<?> targetType)Remove any converters from  sourceTypetotargetType. | 
void addConverter(Converter<?,?> converter)
IllegalArgumentException - if the parameterized types could not be resolved<S,T> void addConverter(Class<S> sourceType, Class<T> targetType, Converter<? super S,? extends T> converter)
Allows for a Converter to be reused for multiple distinct pairs without having to create a Converter class for each pair.
void addConverter(GenericConverter converter)
void addConverterFactory(ConverterFactory<?,?> factory)
IllegalArgumentException - if the parameterized types could not be resolved