Interface FreeMarkerTemplateEngine
- All Superinterfaces:
TemplateEngine
A template engine that uses the FreeMarker library.
The
unwrap() shall return an object of class Configuration- Author:
- Paulo Lopes
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic FreeMarkerTemplateEngineCreate a template engine using defaultsstatic FreeMarkerTemplateEngineCreate a template engine using defaultsfreemarker.template.Configurationunwrap()Returns the underlying engine, so further configurations or customizations may be applied ornullwhen the engine cannot unwrap it.Methods inherited from interface TemplateEngine
clearCache, render, render
-
Field Details
-
DEFAULT_TEMPLATE_EXTENSION
-
-
Method Details
-
create
Create a template engine using defaults- Returns:
- the engine
-
create
Create a template engine using defaults- Returns:
- the engine
-
unwrap
freemarker.template.Configuration unwrap()Description copied from interface:TemplateEngineReturns the underlying engine, so further configurations or customizations may be applied ornullwhen the engine cannot unwrap it.- Specified by:
unwrapin interfaceTemplateEngine- Returns:
- the engine instance.
-