| java.lang.Object org.objectweb.jonas_ws.wsgen.generator.axis.JVelocity
JVelocity | public class JVelocity (Code) | | Wrapper around Velocity tool.
author: Guillaume Sauthier |
Constructor Summary | |
public | JVelocity(String tmplName) Creates a new JVelocity instance using the given template. |
Method Summary | |
public void | generate(File fs, VelocityContext context) Generate the given file with the given VelocityContext. |
JVelocity | public JVelocity(String tmplName) throws WsGenException(Code) | | Creates a new JVelocity instance using the given template.
Parameters: tmplName - the template filename exception: WsGenException - when error occurs during Velocityinitialization. |
generate | public void generate(File fs, VelocityContext context) throws WsGenException(Code) | | Generate the given file with the given VelocityContext.
Parameters: fs - the output file Parameters: context - VelocityContext throws: WsGenException - when velocity generation fails |
|
|