Interface TemplateEngineManager

  • All Known Implementing Classes:
    TemplateEngineManagerImpl

    public interface TemplateEngineManager
    Template engine manager. Has a number of built in template engines, and allows registering custom template engines by registering explicit bindings of things that implement TemplateEngine.
    • Method Detail

      • getContentTypes

        Set<String> getContentTypes()
        Returns a set of the registered template engine content types.
        Returns:
        the registered content types
      • getTemplateEngineForContentType

        TemplateEngine getTemplateEngineForContentType​(String contentType)
        Find the template engine for the given content type
        Parameters:
        contentType - The content type
        Returns:
        The template engine, if found