Package io.vertx.ext.web.templ.pug
Interface PugTemplateEngine
-
- All Superinterfaces:
TemplateEngine
public interface PugTemplateEngine extends TemplateEngine
A template engine that uses Pug. TheTemplateEngine.unwrap()
shall return an object of classPugConfiguration
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 Modifier and Type Field Description static String
DEFAULT_TEMPLATE_EXTENSION
Default template extension
-
Method Summary
Static Methods Modifier and Type Method Description static PugTemplateEngine
create(Vertx vertx)
Create a template engine using defaultsstatic PugTemplateEngine
create(Vertx vertx, String extension)
Create a template engine using defaultsstatic PugTemplateEngine
create(Vertx vertx, String extension, String encoding)
Create a template engine using defaults-
Methods inherited from interface io.vertx.ext.web.common.template.TemplateEngine
clearCache, render, render, unwrap
-
-
-
-
Field Detail
-
DEFAULT_TEMPLATE_EXTENSION
static final String DEFAULT_TEMPLATE_EXTENSION
Default template extension- See Also:
- Constant Field Values
-
-
Method Detail
-
create
static PugTemplateEngine create(Vertx vertx)
Create a template engine using defaults- Returns:
- the engine
-
create
static PugTemplateEngine create(Vertx vertx, String extension)
Create a template engine using defaults- Returns:
- the engine
-
create
static PugTemplateEngine create(Vertx vertx, String extension, String encoding)
Create a template engine using defaults- Returns:
- the engine
-
-