| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public <S, T> void | addConverter(Class<S> sourceType, Class<T> targetType, Converter<? super S, ? extends T> converter)
Add a plain converter to this registry. |
| public void | |
| public void | |
| public void | removeConvertible(Class<?>
the source type sourceType, Class<?> the target type targetType)Remove any converters from |
| addConverter | back to summary |
|---|---|
| public void addConverter(Converter<?, ?> converter) Add a plain converter to this registry. The convertible source/target type pair is derived from the Converter's parameterized types.
| |
| addConverter | back to summary |
|---|---|
| public <S, T> void addConverter(Class<S> sourceType, Class<T> targetType, Converter<? super S, ? extends T> converter) Add a plain converter to this registry. The convertible source/target type pair is specified explicitly. Allows for a Converter to be reused for multiple distinct pairs without having to create a Converter class for each pair.
| |
| addConverter | back to summary |
|---|---|
| public void addConverter(GenericConverter converter) Add a generic converter to this registry. | |
| addConverterFactory | back to summary |
|---|---|
| public void addConverterFactory(ConverterFactory<?, ?> factory) Add a ranged converter factory to this registry. The convertible source/target type pair is derived from the ConverterFactory's parameterized types.
| |
| removeConvertible | back to summary |
|---|---|
| public void removeConvertible(Class<?> sourceType, Class<?> targetType) Remove any converters from | |