Interface Template


public interface Template
The template represents a single template file and is able to render this template.
Since:
1.19
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(Writer writer, Object model)
    Renders the template and writes the output to the given writer.
  • Method Details

    • execute

      void execute(Writer writer, Object model) throws IOException
      Renders the template and writes the output to the given writer. The template will use the given model to replace the placeholder in the template file.
      Parameters:
      writer - writer for the rendered template
      model - model for the template
      Throws:
      IOException