## 接口的使用
org.springframework.format.AnnotationFormatterFactory

- 使用AnnotationFormatterFactory的程序包
  程序包 | 说明
  --- | ---
  org.springframework.format | An API for defining Formatters to format field model values for display in a UI.
  org.springframework.format.datetime | Formatters for `java.util.Date` properties.
  org.springframework.format.datetime.joda | Integration with Joda-Time for formatting Joda date and time types as well as standard JDK Date types.
  org.springframework.format.datetime.standard | Integration with the JSR-310 `java.time` package in JDK 8.
  org.springframework.format.number | Formatters for `java.lang.Number` properties.
  org.springframework.format.number.money | Integration with the JSR-354 `javax.money` package.
  org.springframework.format.support | Support classes for the formatting package, providing common implementations as well as adapters.

- - ### org.springframework.format中AnnotationFormatterFactory的使用

    参数类型为AnnotationFormatterFactory的org.springframework.format中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | FormatterRegistry.`addFormatterForFieldAnnotation(AnnotationFormatterFactory<? extends Annotation> annotationFormatterFactory)` Adds a Formatter to format fields annotated with a specific format annotation.

  - ### org.springframework.format.datetime中AnnotationFormatterFactory的使用

    实现AnnotationFormatterFactory的org.springframework.format.datetime中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `DateTimeFormatAnnotationFormatterFactory` Formats fields annotated with the `DateTimeFormat` annotation using a `DateFormatter`.

  - ### org.springframework.format.datetime.joda中AnnotationFormatterFactory的使用

    实现AnnotationFormatterFactory的org.springframework.format.datetime.joda中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `JodaDateTimeFormatAnnotationFormatterFactory` Formats fields annotated with the `DateTimeFormat` annotation using Joda-Time.

  - ### org.springframework.format.datetime.standard中AnnotationFormatterFactory的使用

    实现AnnotationFormatterFactory的org.springframework.format.datetime.standard中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `Jsr310DateTimeFormatAnnotationFormatterFactory` Formats fields annotated with the `DateTimeFormat` annotation using the JSR-310 `java.time` package in JDK 8.

  - ### org.springframework.format.number中AnnotationFormatterFactory的使用

    实现AnnotationFormatterFactory的org.springframework.format.number中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `NumberFormatAnnotationFormatterFactory` Formats fields annotated with the `NumberFormat` annotation.

  - ### org.springframework.format.number.money中AnnotationFormatterFactory的使用

    实现AnnotationFormatterFactory的org.springframework.format.number.money中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `Jsr354NumberFormatAnnotationFormatterFactory` Formats `MonetaryAmount` fields annotated with Spring's common `NumberFormat` annotation.

  - ### org.springframework.format.support中AnnotationFormatterFactory的使用

    参数类型为AnnotationFormatterFactory的org.springframework.format.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | FormattingConversionService.`addFormatterForFieldAnnotation(AnnotationFormatterFactory<? extends Annotation> annotationFormatterFactory)`