Package: groovy.text

## [Java] Interface Template

-     public interface Template

  A template is a block of text with an associated binding that can be output to a writer or evaluated to a string.

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public Writable` | `make()` Creates a writable view of this template using an empty binding.
    `` | `public Writable` | `make(Map binding)` Creates a writable view of this template using the supplied binding.

- - ### Method Detail

    - #### public Writable make()

      Creates a writable view of this template using an empty binding.

      Returns:
        a writable object that renders this template

    - #### public Writable make(Map binding)

      Creates a writable view of this template using the supplied binding.

      Parameters:
        `binding` - values available to template expressions; may be `null` if the implementation permits it
      Returns:
        a writable object that renders this template with the given binding