Browse Source

Update FormatterRegistry interface in reference manual

Closes gh-26812
pull/26816/head
Sviatoslav Hryb 5 years ago committed by GitHub
parent
commit
af06b80bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/docs/asciidoc/core/core-validation.adoc

10
src/docs/asciidoc/core/core-validation.adoc

@ -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 {
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(Formatter<?> formatter);
void addFormatterForFieldType(Class<?> fieldType, Printer<?> printer, Parser<?> parser);
void addFormatterForAnnotation(AnnotationFormatterFactory<?> factory);
void addFormatterForFieldAnnotation(AnnotationFormatterFactory<? extends Annotation> annotationFormatterFactory);
}
----

Loading…
Cancel
Save