未验证 提交 af06b80b 编写于 作者: S Sviatoslav Hryb 提交者: GitHub

Update FormatterRegistry interface in reference manual

Closes gh-26812
上级 5b1ab315
...@@ -1492,13 +1492,17 @@ The following listing shows the `FormatterRegistry` SPI: ...@@ -1492,13 +1492,17 @@ The following listing shows the `FormatterRegistry` SPI:
public interface FormatterRegistry extends ConverterRegistry { public interface FormatterRegistry extends ConverterRegistry {
void addFormatterForFieldType(Class<?> fieldType, Printer<?> printer, Parser<?> parser); void addPrinter(Printer<?> printer);
void addParser(Parser<?> parser);
void addFormatter(Formatter<?> formatter);
void addFormatterForFieldType(Class<?> fieldType, Formatter<?> formatter); void addFormatterForFieldType(Class<?> fieldType, Formatter<?> formatter);
void addFormatterForFieldType(Formatter<?> formatter); void addFormatterForFieldType(Class<?> fieldType, Printer<?> printer, Parser<?> parser);
void addFormatterForAnnotation(AnnotationFormatterFactory<?> factory); void addFormatterForFieldAnnotation(AnnotationFormatterFactory<? extends Annotation> annotationFormatterFactory);
} }
---- ----
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册