Package io.vertx.ext.web.templ.mvel
Interface MVELTemplateEngine
-
- All Superinterfaces:
TemplateEngine
public interface MVELTemplateEngine extends TemplateEngine
A template engine that uses the Handlebars library.- Author:
- Tim Fox
-
-
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 MVELTemplateEngine
create(Vertx vertx)
Create a template engine using defaultsstatic MVELTemplateEngine
create(Vertx vertx, String extension)
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 MVELTemplateEngine create(Vertx vertx)
Create a template engine using defaults- Returns:
- the engine
-
create
static MVELTemplateEngine create(Vertx vertx, String extension)
Create a template engine using defaults- Returns:
- the engine
-
-