public interface ITemplateEngineFactory extends IEngineRender
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getRegisteredTemplateLanguages()
Return an immutable list of registered template engine languages.
|
Optional<ITemplateEngine> |
getTemplateEngine(@NotBlank String templateLanguage)
Get the
template engine associated with the indicated templateLanguage. |
renderTemplateOptional<ITemplateEngine> getTemplateEngine(@NotBlank @NotBlank String templateLanguage)
template engine associated with the indicated templateLanguage.templateLanguage - The template language, is a text literal that identify uniquely a template engine, by example: _thymeleaf_, _velocity_, _mustache_, etc.Optional.empty() if no template engine was found for the indicated templateLanguageCopyright © 2021 Albirar. All rights reserved.