public interface IEngineRender
A specific operational part of ITemplateEngine
that render the template.
For use on factory.
Modifier and Type | Method and Description |
---|---|
String |
renderTemplate(@NotNull @Valid TemplateInstanceBean template)
Render the indicated
template without variables to generate output. |
String renderTemplate(@NotNull @Valid @NotNull @Valid TemplateInstanceBean template)
Render the indicated template
without variables to generate output.
template
- The template definitionIllegalStateException
- If the indicated template
language is unknown (not registered engine is available for this template language)TemplateNotAccessibleException
- If the indicated template is not accessible, ex: does’nt exists or is not a file or there are’nt authorization to read themRenderingException
- The exception throw if there are problems in the rendering process, includes template language syntax error, variable is not of excepted type, etcCopyright © 2021 Albirar. All rights reserved.