|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateProcessor
Interface to be implemented by template engine wrapper classes. The developer is responsible for interfacing to an appropriate template engine, using the supplied data model as input to the template and directing the output to the Writer stream.
Method Summary | |
---|---|
void |
process(java.lang.String template,
java.lang.Object model,
java.io.Writer out)
Process a template against the supplied data model and write to the out. |
void |
processString(java.lang.String template,
java.lang.Object model,
java.io.Writer out)
Process a string template against the supplied data model and write to the out. |
Methods inherited from interface org.alfresco.processor.Processor |
---|
getExtension, getName, registerProcessorExtension |
Method Detail |
---|
void process(java.lang.String template, java.lang.Object model, java.io.Writer out)
template
- Template name/pathmodel
- Object model to process template againstout
- Writer object to send output toovoid processString(java.lang.String template, java.lang.Object model, java.io.Writer out)
template
- Template stringmodel
- Object model to process template againstout
- Writer object to send output too
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |