Package | Description |
---|---|
org.springframework.core.convert.converter |
SPI to implement Converters for the type conversion system.
|
org.springframework.core.convert.support |
Default implementation of the type conversion system.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConditionalGenericConverter
A
GenericConverter that may conditionally execute based on attributes
of the source and target TypeDescriptor . |
Modifier and Type | Method and Description |
---|---|
void |
ConverterRegistry.addConverter(GenericConverter converter)
Add a generic converter to this registry.
|
Modifier and Type | Method and Description |
---|---|
protected GenericConverter |
GenericConversionService.getConverter(TypeDescriptor sourceType,
TypeDescriptor targetType)
Hook method to lookup the converter for a given sourceType/targetType pair.
|
protected GenericConverter |
GenericConversionService.getDefaultConverter(TypeDescriptor sourceType,
TypeDescriptor targetType)
Return the default converter if no converter is found for the given sourceType/targetType pair.
|
Modifier and Type | Method and Description |
---|---|
void |
GenericConversionService.addConverter(GenericConverter converter) |