freemarker.template
Interface TemplateProcessor
- All Known Implementing Classes:
- Template
- public abstract interface TemplateProcessor
Objects representing compiled templates must implement this
interface.
Method Summary |
void |
process(TemplateModelRoot modelRoot,
java.io.PrintWriter out)
Processes the contents of this TemplateProcessor and outputs the
resulting text to a PrintWriter. |
process
public void process(TemplateModelRoot modelRoot,
java.io.PrintWriter out)
- Processes the contents of this TemplateProcessor and outputs the
resulting text to a PrintWriter.
- Parameters:
modelRoot
- the root node of the data model.out
- a PrintWriter to send the output to.