io.vertx.ext.web.templ

## Interface ThymeleafTemplateEngine

- All Superinterfaces:
    TemplateEngine

      public interface ThymeleafTemplateEngine
      extends TemplateEngine

  A template engine that uses the Thymeleaf library.
  Author:
    Tim Fox

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `DEFAULT_TEMPLATE_MODE`

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ThymeleafTemplateEngine` | `create()` Create a template engine using defaults
    `org.thymeleaf.TemplateEngine` | `getThymeleafTemplateEngine()` Get a reference to the internal Thymeleaf TemplateEngine object so it can be configured.
    `ThymeleafTemplateEngine` | `setMode(String mode)` Set the mode for the engine

    - ### Methods inherited from interface io.vertx.ext.web.templ.TemplateEngine

      `render`

- - ### Field Detail

    - #### DEFAULT_TEMPLATE_MODE

          static final String DEFAULT_TEMPLATE_MODE

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### create

          static ThymeleafTemplateEngine create()

      Create a template engine using defaults
      Returns:
        the engine

    - #### setMode

          ThymeleafTemplateEngine setMode(String mode)

      Set the mode for the engine
      Parameters:
        `mode` - the mode
      Returns:
        a reference to this for fluency

    - #### getThymeleafTemplateEngine

          org.thymeleaf.TemplateEngine getThymeleafTemplateEngine()

      Get a reference to the internal Thymeleaf TemplateEngine object so it can be configured.
      Returns:
        a reference to the internal Thymeleaf TemplateEngine instance.

Copyright © 2015. All Rights Reserved.