Top Description Interfaces Classes
module spring.core

Package org.springframework.core.convert.converter

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

SPI to implement Converters for the type conversion system.

Interface Summary

Modifier and TypeInterface and Description
public interface
ConditionalConverter

Allows a Converter, GenericConverter or ConverterFactory to conditionally execute based on attributes of the source and target TypeDescriptor.

public interface
ConditionalGenericConverter

A GenericConverter that may conditionally execute based on attributes of the source and target TypeDescriptor.

public interface
Converter<
the source type
S
,
the target type
T
>

A converter converts a source object of type S to a target of type T.

public interface
ConverterFactory<
the source type converters created by this factory can convert from
S
,
the target range (or base) type converters created by this factory can convert to; for example Number for a set of number subtypes.
R
>

A factory for "ranged" converters that can convert objects from S to subtypes of R.

Implementations may additionally implement ConditionalConverter.

public interface
ConverterRegistry

For registering converters with a type conversion system.

public interface
GenericConverter

Generic converter interface for converting between two or more types.

Class Summary

Modifier and TypeClass and Description
public class
ConvertingComparator<
the source type
S
,
the target type
T
>

A Comparator that converts values before they are compared.