Class PugTemplateEngine
- java.lang.Object
-
- io.vertx.mutiny.ext.web.common.template.TemplateEngine
-
- io.vertx.mutiny.ext.web.templ.pug.PugTemplateEngine
-
public class PugTemplateEngine extends TemplateEngine
A template engine that uses Pug. TheTemplateEngine.unwrap()
shall return an object of classThí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.
NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<PugTemplateEngine>
__TYPE_ARG
static String
DEFAULT_TEMPLATE_EXTENSION
Default template extension
-
Constructor Summary
Constructors Constructor Description PugTemplateEngine(io.vertx.ext.web.templ.pug.PugTemplateEngine delegate)
PugTemplateEngine(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PugTemplateEngine
create(Vertx vertx)
static PugTemplateEngine
create(Vertx vertx, String extension)
static PugTemplateEngine
create(Vertx vertx, String extension, String encoding)
boolean
equals(Object o)
io.vertx.ext.web.templ.pug.PugTemplateEngine
getDelegate()
int
hashCode()
static PugTemplateEngine
newInstance(io.vertx.ext.web.templ.pug.PugTemplateEngine arg)
String
toString()
-
Methods inherited from class io.vertx.mutiny.ext.web.common.template.TemplateEngine
clearCache, newInstance, render, render, renderAndAwait, renderAndAwait, renderAndForget, renderAndForget, unwrap
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<PugTemplateEngine> __TYPE_ARG
-
DEFAULT_TEMPLATE_EXTENSION
public static final String DEFAULT_TEMPLATE_EXTENSION
Default template extension- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PugTemplateEngine
public PugTemplateEngine(io.vertx.ext.web.templ.pug.PugTemplateEngine delegate)
-
PugTemplateEngine
public PugTemplateEngine(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.templ.pug.PugTemplateEngine getDelegate()
- Overrides:
getDelegate
in classTemplateEngine
-
toString
public String toString()
- Overrides:
toString
in classTemplateEngine
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classTemplateEngine
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTemplateEngine
-
create
public static PugTemplateEngine create(Vertx vertx)
- Parameters:
vertx
-- Returns:
- the engine
-
create
public static PugTemplateEngine create(Vertx vertx, String extension)
- Parameters:
vertx
-extension
-- Returns:
- the engine
-
create
public static PugTemplateEngine create(Vertx vertx, String extension, String encoding)
- Parameters:
vertx
-extension
-encoding
-- Returns:
- the engine
-
newInstance
public static PugTemplateEngine newInstance(io.vertx.ext.web.templ.pug.PugTemplateEngine arg)
-
-