## Uses of Interface
org.apache.struts2.components.template.TemplateEngine

- Packages that use TemplateEngine
  Package | Description
  --- | ---
  org.apache.struts2.components.template |
  org.apache.struts2.views.freemarker |

- - ### Uses of TemplateEngine in org.apache.struts2.components.template

    Classes in org.apache.struts2.components.template that implement TemplateEngine
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BaseTemplateEngine` Base class for template engines.
    `class` | `FreemarkerTemplateEngine` Freemarker based template engine.
    `class` | `JspTemplateEngine` JSP based template engine.

    Methods in org.apache.struts2.components.template that return TemplateEngine
    Modifier and Type | Method and Description
    --- | ---
    `TemplateEngine` | TemplateEngineManager.`getTemplateEngine(Template template, String templateTypeOverride)` Gets the TemplateEngine for the template name.

    Methods in org.apache.struts2.components.template with parameters of type TemplateEngine
    Modifier and Type | Method and Description
    --- | ---
    `List<Template>` | Template.`getPossibleTemplates(TemplateEngine engine)`
    `void` | TemplateEngineManager.`registerTemplateEngine(String templateExtension, TemplateEngine templateEngine)` Registers the given template engine.

  - ### Uses of TemplateEngine in org.apache.struts2.views.freemarker

    Methods in org.apache.struts2.views.freemarker with parameters of type TemplateEngine
    Modifier and Type | Method and Description
    --- | ---
    `void` | FreemarkerThemeTemplateLoader.`setTemplateEngine(TemplateEngine templateEngine)`

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.