org.sf.codejen
Interface TemplateProcessor

All Known Implementing Classes:
JsTemplateProcessor

public interface TemplateProcessor

Processor to (pre/post)process the template.

Author:
Shane Ng

Method Summary
 void process(Template template)
          Processes the template.
 

Method Detail

process

void process(Template template)
             throws TemplateException
Processes the template.

Parameters:
template - the template to be processed.
Throws:
TemplateException - if any error is encoutered during process. Code Generator should use Throwable.getCause() to access the wrapped exception.