public interface TemplateParser
ResourceResolver
for finding and loading
template.More information about template resolution
Modifier and Type | Method and Description |
---|---|
Content |
parse(String templateName,
Context ctx)
Load the template from its name (or path).
|
Content parse(String templateName, Context ctx) throws ParseException
templateName
- the name of the template to load (or the path)ctx
- the context that contains the variable valuesParseException
- when the template couldn't be parsed either if the template
couldn't be read or if the template could't be processedCopyright © 2017. All rights reserved.