public interface TemplateProcessor
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultEncoding()
Gets the default encoding
|
boolean |
hasTemplate(String template)
Determines if a template exists
|
void |
process(String template,
Object model,
Writer out)
Process a template against the supplied data model and write to the out.
|
void |
processString(String template,
Object model,
Writer out)
Process a string template against the supplied data model and write to the out.
|
void |
reset()
Reset the Template Processor
|
boolean hasTemplate(String template)
template - Stringvoid process(String template, Object model, Writer out)
template - Template name/pathmodel - Object model to process template againstout - Writer object to send output toovoid processString(String template, Object model, Writer out)
template - Template stringmodel - Object model to process template againstout - Writer object to send output tooString getDefaultEncoding()
void reset()
Copyright © 2005–2016 Alfresco Software. All rights reserved.