Interface TemplateRenderer
- All Known Implementing Classes:
MustacheTemplateRenderer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Template rendering abstraction.
- Author:
- Stephane Nicoll
-
Method Summary
-
Method Details
-
render
Render the template with the specified name and the specified model.- Parameters:
templateName
- the name of the templatemodel
- the model to use- Returns:
- the rendering result
- Throws:
IOException
- if rendering the template failed
-