|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface that all templates engines used within MDA must implement. It allows us to plug-in the template engine to use for processing of templates used by the system.
| Method Summary | |
void |
init(java.util.Map properties)
Initializes the TempateEngine. |
void |
processTemplate(java.lang.String templateFile,
java.util.Map templateObjects,
java.io.StringWriter output)
Processes a template. |
| Method Detail |
public void init(java.util.Map properties)
properties - any initialization properties
to pass to the TemplateEngine.
public void processTemplate(java.lang.String templateFile,
java.util.Map templateObjects,
java.io.StringWriter output)
throws java.lang.Exception
templateFile - the path to the template file that will be processed.templateObjects - any additional objects we wish to make available to the
translation template that is processedoutput - the Writer to which to write the output of the processing.
java.lang.Exception - any exception that may occur
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||