public interface TemplateRender
Template rendering typically of html.
-
Method Summary
-
Method Details
-
defaultExtensions
String[] defaultExtensions()Return the extensions this template renders for by default.When the template render is not explicitly registered it can be automatically registered via ServiceLoader and these are the extensions it will register for by default.
-
render
Render the template and model typically as html to the given context.- Parameters:
context- The context to render the template toname- The template namemodel- The model of key value pairs used when rendering the template
-