Top Description Interfaces
module spring.context

Package org.springframework.format

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

An API for defining Formatters to format field model values for display in a UI.

Interface Summary

Modifier and TypeInterface and Description
public interface
AnnotationFormatterFactory<
the annotation type that should trigger formatting
A extends Annotation
>

A factory that creates formatters to format values of fields annotated with a particular Annotation.

public interface
Formatter<
the type of object this Formatter formats
T
>

Formats objects of type T.

public interface
FormatterRegistrar

Registers Converters and Formatters with a FormattingConversionService through the FormatterRegistry SPI.

public interface
FormatterRegistry

A registry of field formatting logic.

public interface
Parser<
the type of object this Parser produces
T
>

Parses text strings to produce instances of T.

public interface
Printer<
the type of object this Printer prints
T
>

Prints objects of type T for display.