@Validated
public interface ITemplateEngineRegistry
A template engine registry that collaborate with ITemplateEngineFactory
for internal use of template engine classes.
The implemented template engines should to register itself with register(ITemplateEngine)
method in order to be available on ITemplateEngineFactory
.
Modifier and Type | Method and Description |
---|---|
void |
register(@NotNull @Valid ITemplateEngine templateEngine)
Register a new
templateEngine for use. |
void register(@NotNull @Valid @NotNull @Valid ITemplateEngine templateEngine)
Register a new templateEngine
for use.
ATENTION If another template engine was configured with same template language
, this one overwrites the previously registered.
templateEngine
- The template engineCopyright © 2021 Albirar. All rights reserved.