Class PugTemplateEngine
java.lang.Object
io.vertx.rxjava3.ext.web.common.template.TemplateEngine
io.vertx.rxjava3.ext.web.templ.pug.PugTemplateEngine
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
A template engine that uses Pug.
The
unwrap() shall return an object of class
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.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<PugTemplateEngine> static final StringDefault template extension -
Constructor Summary
ConstructorsConstructorDescriptionPugTemplateEngine(PugTemplateEngine delegate) PugTemplateEngine(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic PugTemplateEngineCreate a template engine using defaultsstatic PugTemplateEngineCreate a template engine using defaultsstatic PugTemplateEngineCreate a template engine using defaultsbooleaninthashCode()static PugTemplateEnginetoString()de.neuland.pug4j.PugConfigurationunwrap()Returns the underlying engine, so further configurations or customizations may be applied ornullwhen the engine cannot unwrap it.Methods inherited from class TemplateEngine
clearCache, newInstance, render, render, rxRender, rxRender
-
Field Details
-
__TYPE_ARG
-
DEFAULT_TEMPLATE_EXTENSION
-
-
Constructor Details
-
PugTemplateEngine
-
PugTemplateEngine
-
-
Method Details
-
toString
- Overrides:
toStringin classTemplateEngine
-
equals
- Overrides:
equalsin classTemplateEngine
-
hashCode
public int hashCode()- Overrides:
hashCodein classTemplateEngine
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate- Overrides:
getDelegatein classTemplateEngine
-
create
Create a template engine using defaults- Parameters:
vertx-- Returns:
- the engine
-
create
Create a template engine using defaults- Parameters:
vertx-extension-- Returns:
- the engine
-
create
Create a template engine using defaults- Parameters:
vertx-extension-encoding-- Returns:
- the engine
-
unwrap
public de.neuland.pug4j.PugConfiguration unwrap()Description copied from class:TemplateEngineReturns the underlying engine, so further configurations or customizations may be applied ornullwhen the engine cannot unwrap it.- Overrides:
unwrapin classTemplateEngine- Returns:
- the engine instance.
-
newInstance
-