Contains the text processing utilities including templating APIs and default implementations.
| Modifier and Type | Interface and Description |
|---|---|
| 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. |
| Modifier and Type | Class and Description |
|---|---|
| public class | 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. |
| public class | SimpleTemplateEngine
Processes template source files substituting variables and expressions into placeholders in a template source text to produce the desired output. |
| public class | 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. |
| public abstract class | TemplateEngine
A template engine is a factory for creating a Template instance for a given text input. |
| public class | TemplateExecutionException
A custom exception class to flag template execution errors |
| public class | TemplateParseException
A custom exception class to flag template parsing errors |
| public class | XmlTemplateEngine
Template engine for use in templating scenarios where both the template source and the expected output are intended to be XML. |