eu.scape_project.xa.tw.tmpl
Class OutputItemCode

java.lang.Object
  extended by eu.scape_project.xa.tw.tmpl.Code
      extended by eu.scape_project.xa.tw.tmpl.OutputItemCode

public class OutputItemCode
extends Code

Template-based service code generator. The service code can be evaluated by the Velocity template engine. Evaluation is performed by applying the Velocity context to the source code content.

Version:
0.3
Author:
shsdev https://github.com/shsdev

Constructor Summary
OutputItemCode(String filePath)
          Constructor for a service code instance
 
Method Summary
 
Methods inherited from class eu.scape_project.xa.tw.tmpl.Code
evaluate, getCode, getCtx, put, put, setCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputItemCode

public OutputItemCode(String filePath)
               throws IOException
Constructor for a service code instance

Parameters:
filePath - Path to template file
Throws:
IOException - Exception while reading the template file


Copyright © 2013. All Rights Reserved.