public interface TemplateConfig
A Container for optional template collaborators for ease of wiring generated
Template
s.- Author:
- agentgt
- API Note
- the default methods return
null
to indicate to the template constructor to use the static default collaborator and is the reason whyTemplateInfo
does not extend this interface.
-
Method Summary
Modifier and TypeMethodDescriptionstatic TemplateConfig
empty()
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)
.
-