public class MarkupTemplateEngine extends TemplateEngine
A template engine which leverages StreamingMarkupBuilder to generate XML/XHTML.
Modifiers | Name | Description |
---|---|---|
static class |
MarkupTemplateEngine.CachingTemplateResolver |
A template resolver which avoids calling ClassLoader.getResource if a template path already has been queried before. |
static class |
MarkupTemplateEngine.DefaultTemplateResolver |
|
static class |
MarkupTemplateEngine.TemplateResource |
Constructor and description |
---|
MarkupTemplateEngine() |
MarkupTemplateEngine(TemplateConfiguration tplConfig) |
MarkupTemplateEngine(ClassLoader parentLoader, TemplateConfiguration tplConfig) |
MarkupTemplateEngine(ClassLoader parentLoader, TemplateConfiguration tplConfig, TemplateResolver resolver) |
MarkupTemplateEngine(ClassLoader parentLoader, File templateDirectory, TemplateConfiguration tplConfig) Convenience constructor to build a template engine which searches for templates into a directory |
Methods inherited from class | Name |
---|---|
class TemplateEngine |
createTemplate, createTemplate, createTemplate, createTemplate, createTemplate, createTemplate |
Convenience constructor to build a template engine which searches for templates into a directory
templateDirectory
- directory where to find templatestplConfig
- template engine configurationCopyright © 2003-2022 The Apache Software Foundation. All rights reserved.