Interface Template

All Known Implementing Classes:
MustacheTemplate

public interface Template
A compiled Template that can be rendered to a String.
Author:
Andy Wilkinson
  • Method Summary

    Modifier and Type
    Method
    Description
    render(Map<String,Object> context)
    Renders the template to a String using the given context for variable/property resolution.
  • Method Details

    • render

      String render(Map<String,Object> context)
      Renders the template to a String using the given context for variable/property resolution.
      Parameters:
      context - the context to use
      Returns:
      the rendered template