org.sf.codejen.js
Class JsTemplateProcessor
java.lang.Object
org.sf.codejen.js.JsWorker
org.sf.codejen.js.JsTemplateProcessor
- All Implemented Interfaces:
- TemplateProcessor
public class JsTemplateProcessor
- extends JsWorker
- implements TemplateProcessor
JavaScript-able TemplateProcessor
- Author:
- Shane Ng
- See Also:
TemplateProcessor
,
JsWorker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsTemplateProcessor
public JsTemplateProcessor()
process
public void process(Template template)
throws TemplateException
- Description copied from interface:
TemplateProcessor
- Processes the template.
- Specified by:
process
in interface TemplateProcessor
- 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.- See Also:
TemplateProcessor.process(Template)