Interface Template

  • All Known Subinterfaces:
    Template.Fragment

    public interface Template
    Represents an immutable template definition.

    The workflow is as follows:

    1. Create a new template instance via instance() or any convenient method
    2. Set the model data
    3. Trigger rendering with TemplateInstance.render() or any other convenient methods