# Package groovy.text

Contains the text processing utilities including templating APIs and default implementations.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Template | A template is a block of text with an associated binding that can be output to a writer or evaluated to a string.

- Class Summary
  Class | Description
  --- | ---
  GStringTemplateEngine | Processes template source files substituting variables and expressions into placeholders in a template source text to produce the desired output using a streaming approach.
  SimpleTemplateEngine | Processes template source files substituting variables and expressions into placeholders in a template source text to produce the desired output.
  StreamingTemplateEngine | Processes template source files substituting variables and expressions into placeholders in a template source text to produce the desired output using a closure based approach.
  TemplateEngine | Represents an API to any template engine which is basically a factory of Template instances from a given text input.
  XmlTemplateEngine | Template engine for use in templating scenarios where both the template source and the expected output are intended to be XML.

- Exception Summary
  Exception | Description
  --- | ---
  TemplateExecutionException | A custom exception class to flag template execution errors
  TemplateParseException | A custom exception class to flag template parsing errors

## Package groovy.text Description

Contains the text processing utilities including templating APIs and default implementations.