# Package groovy.text.markup

package groovy.text.markup

Contains a template engine facilitating generation of XML-like markup with optional type checking.

- Related Packages
  Package
  Description
  groovy.text
  Contains the text processing utilities including templating APIs and default implementations.
- Class
  Description
  BaseTemplate
  All templates compiled through `MarkupTemplateEngine` extend this abstract class, which provides a number of utility methods to generate markup.
  DelegatingIndentWriter
  A writer which delegates to another writer and supports an additional indenting level.
  MarkupTemplateEngine
  A template engine which leverages `StreamingMarkupBuilder` to generate XML/XHTML.
  MarkupTemplateEngine.CachingTemplateResolver
  A template resolver which avoids calling `ClassLoader.getResource(String)` if a template path already has been queried before.
  MarkupTemplateEngine.DefaultTemplateResolver
  Default resolver that loads templates from the configured template class loader and applies locale fallback rules.
  MarkupTemplateEngine.TemplateResource
  Describes a template resource name split into base name, optional locale suffix, and extension.
  TemplateConfiguration
  Configuration options for the `markup template engine`.
  TemplateResolver
  Interface for template resolvers, which, given a template identifier, return a URL where the template can be loaded.