| Modifier and Type | Method and Description |
|---|---|
| public void | addFormatter(Formatter<?>
the formatter to add formatter)Adds a Formatter to format fields of a specific type. |
| public void | addFormatterForFieldAnnotation(AnnotationFormatterFactory<? extends Annotation>
the annotation formatter factory to add annotationFormatterFactory)Adds a Formatter to format fields annotated with a specific format annotation. |
| public void | addFormatterForFieldType(Class<?>
the field type to format fieldType, Formatter<?> the formatter to add formatter)Adds a Formatter to format fields of the given type. |
| public void | addFormatterForFieldType(Class<?>
the field type to format fieldType, Printer<?> the printing part of the formatter printer, Parser<?> the parsing part of the formatter parser)Adds a Printer/Parser pair to format fields of a specific type. |
| public void | |
| public void |
| addFormatter | back to summary |
|---|---|
| public void addFormatter(Formatter<?> formatter) Adds a Formatter to format fields of a specific type. The field type is implied by the parameterized Formatter instance.
| |
| addFormatterForFieldAnnotation | back to summary |
|---|---|
| public void addFormatterForFieldAnnotation(AnnotationFormatterFactory<? extends Annotation> annotationFormatterFactory) Adds a Formatter to format fields annotated with a specific format annotation.
| |
| addFormatterForFieldType | back to summary |
|---|---|
| public void addFormatterForFieldType(Class<?> fieldType, Formatter<?> formatter) Adds a Formatter to format fields of the given type. On print, if the Formatter's type T is declared and | |
| addFormatterForFieldType | back to summary |
|---|---|
| public void addFormatterForFieldType(Class<?> fieldType, Printer<?> printer, Parser<?> parser) Adds a Printer/Parser pair to format fields of a specific type.
The formatter will delegate to the specified On print, if the Printer's type T is declared and | |
| addParser | back to summary |
|---|---|
| public void addParser(Parser<?> parser) Adds a Parser to parse fields of a specific type. The field type is implied by the parameterized Parser instance.
| |
| addPrinter | back to summary |
|---|---|
| public void addPrinter(Printer<?> printer) Adds a Printer to print fields of a specific type. The field type is implied by the parameterized Printer instance.
| |