|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TemplateGenerator
Generic interface for triggering templates.
| Method Summary | |
|---|---|
void |
gen(String templatePath,
File outFile,
Map<String,Object> context)
Process template |
String |
getTemplateBasePath()
Base path of template locations. |
void |
setWriterFactory(WriterFactory writerFactory)
Provide a hook for tools to intercept the output sinks. |
| Method Detail |
|---|
void gen(String templatePath,
File outFile,
Map<String,Object> context)
templatePath - relative to templateBasePathoutFile - output filecontext - usualy a combined context based on current model node.String getTemplateBasePath()
void setWriterFactory(WriterFactory writerFactory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||