|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TemplateProcessor
Objects representing compiled templates must implement this interface.
| Nested Class Summary | |
|---|---|
static class |
TemplateProcessor.ExitStatus
Enumates the return values from a template processor. |
| Method Summary | |
|---|---|
TemplateProcessor.ExitStatus |
process(TemplateModelRoot modelRoot,
java.io.Writer out,
TemplateRuntimeHandler eventHandler)
Processes the contents of this TemplateProcessor and
outputs the resulting text to a Writer. |
| Method Detail |
|---|
TemplateProcessor.ExitStatus process(TemplateModelRoot modelRoot,
java.io.Writer out,
TemplateRuntimeHandler eventHandler)
throws java.io.IOException
TemplateProcessor and
outputs the resulting text to a Writer.
modelRoot - the root node of the data model.out - a Writer to send the output to.eventHandler - a TemplateEventAdapter for handling any
events that occur during processing.
java.io.IOException - an IO error occurred during processing
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||