Top Description Interfaces Classes Enums
[default module]

Package groovy.text.markup


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

Interface Summary

Modifier and TypeInterface and Description
public interface
TemplateResolver

Interface for template resolvers, which, given a template identifier, return an URL where the template can be loaded.

Class Summary

Modifier and TypeClass and Description
pack-priv class
AutoNewLineTransformer

This transformer is responsible for adding calls to the newLine method depending on the layout of the source code, inside builder like blocks.

public abstract class
BaseTemplate

All templates compiled through groovy.text.markup.MarkupTemplateEngine extend this abstract class, which provides a number of utility methods to generate markup.

public class
DelegatingIndentWriter

A writer which delegates to another writer and supports an additional indenting level.

pack-priv class
MarkupBuilderCodeTransformer

This AST transformer is responsible for modifying a source template into something which can be compiled as a groovy.text.markup.BaseTemplate subclass.

public class
MarkupTemplateEngine

A template engine which leverages groovy.xml.StreamingMarkupBuilder to generate XML/XHTML.

pack-priv class
TemplateASTTransformer

An AST transformation which adapts the AST generated from a script as a class extending groovy.text.markup.BaseTemplate.

public class
TemplateConfiguration

Configuration options for the markup template engine.

Enum Summary

Modifier and TypeEnum and Description
pack-priv enum
IncludeType

An enumeration used internally to map include types to groovy.text.markup.BaseTemplate method calls.