# Class: MVELTemplateEngine

## vertx-web-js/mvel_template_engine~ MVELTemplateEngine

#### new MVELTemplateEngine()

A template engine that uses the Handlebars library.

Source:
  - vertx-web-js/mvel_template_engine.js, line 32

### Methods

#### isCachingEnabled() → {boolean}

Source:
  - vertx-web-js/mvel_template_engine.js, line 73

##### Returns:

Type
  boolean

#### render(arg0, arg1, arg2, arg3)

##### Parameters:

Name | Type | Description
--- | --- | ---
`arg0` | RoutingContext |
`arg1` | string |
`arg2` | string |
`arg3` | function |

Source:
  - vertx-web-js/mvel_template_engine.js, line 46

#### setExtension(extension) → {MVELTemplateEngine}

Set the extension for the engine

##### Parameters:

Name | Type | Description
--- | --- | ---
`extension` | string | the extension

Source:
  - vertx-web-js/mvel_template_engine.js, line 87

##### Returns:

a reference to this for fluency

Type
  MVELTemplateEngine

#### setMaxCacheSize(maxCacheSize) → {MVELTemplateEngine}

Set the max cache size for the engine

##### Parameters:

Name | Type | Description
--- | --- | ---
`maxCacheSize` | number | the maxCacheSize

Source:
  - vertx-web-js/mvel_template_engine.js, line 102

##### Returns:

a reference to this for fluency

Type
  MVELTemplateEngine