| 程序包 | 说明 |
|---|---|
| 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.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ConditionalGenericConverter
A
GenericConverter that may conditionally execute based on attributes
of the source and target TypeDescriptor. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ConverterRegistry.addConverter(GenericConverter converter)
Add a generic converter to this registry.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
GenericConversionService.addConverter(GenericConverter converter) |