Module de.cuioss.java.tools
Interface TemplateFormatter<T extends FormatterSupport>
- Type Parameters:
T- bounded type based onFormatterSupport
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
TemplateFormatterImpl
The formatter should be able to convert complex type based on
FormatterSupport into text by using a defined template.
See de.cuioss.tools.formatting for details.
- Author:
- Eugen Fischer
-
Method Summary
-
Method Details
-
format
Execute transformation based on configured template and values for the defined placeholders. Missing values should get ignored.- Parameters:
reference- must not benull- Returns:
- formatted text
- Throws:
NullPointerException- if reference is missing
-