Interface PugTemplateEngine
- All Superinterfaces:
TemplateEngine
A template engine that uses Pug.
The
unwrap() shall return an object of class PugConfiguration
Thís interface has been copied from JadeTemplateEngine.java. Authors of JadeTemplateEngine.java are Tim Fox, Paulo Lopes (pmlopes), Julien Viet (vietj), Roman Novikov (mystdeim), nEJC (mrnejc), Yunyu Lin, Kevin Macksamie (k-mack), Geoffrey Clements (baldmountain).
For authors of this file see git history.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PugTemplateEngineCreate a template engine using defaultsstatic PugTemplateEngineCreate a template engine using defaultsstatic PugTemplateEngineCreate a template engine using defaultsde.neuland.pug4j.PugConfigurationunwrap()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
-
create
Create a template engine using defaults- Returns:
- the engine
-
unwrap
de.neuland.pug4j.PugConfiguration 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.
-