public interface TemplateConfig
A Container for optional template collaborators for ease of wiring generated
Templates.- Author:
- agentgt
- API Note
- the default methods return
nullto indicate to the template constructor to use the static default collaborator and is the reason whyTemplateInfodoes not extend this interface.
-
Method Summary
Modifier and TypeMethodDescriptionstatic TemplateConfigempty()A config with no provided collaborators.escaper()The escaper to be used on the template.The base formatter to be used on the template.
-
Method Details
-
empty
A config with no provided collaborators.- Returns:
- empty config
-
escaper
The escaper to be used on the template. SeeEscaper.of(Function). -
formatter
The base formatter to be used on the template. SeeFormatter.of(Function).
-