|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TemplateProcessor
A processor for templates.
| Method Summary | |
|---|---|
java.lang.String |
resolve(java.lang.String path)
Resolve an abstract template path into a fully qualified concrete template path that identifies a template. |
void |
writeTo(java.lang.String resolvedPath,
java.lang.Object model,
java.io.OutputStream out)
Process a template and write the result to an output stream. |
| Method Detail |
|---|
java.lang.String resolve(java.lang.String path)
path - the abstract template path
void writeTo(java.lang.String resolvedPath,
java.lang.Object model,
java.io.OutputStream out)
throws java.io.IOException
resolvedPath - the resolved path identifying a template. This
is obtained by calling the resolve method with an abstract
template path.model - the model to be passed to the template.out - the output stream to write the result of processing the
template.
java.io.IOException - if there was an error processing the
template.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||