|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_ws.wsgen.generator.axis.JVelocity
public class JVelocity
Wrapper around Velocity tool.
Constructor Summary | |
---|---|
JVelocity(java.lang.String tmplName)
Creates a new JVelocity instance using the given template. |
Method Summary | |
---|---|
void |
generate(java.io.File fs,
org.apache.velocity.VelocityContext context)
Generate the given file with the given VelocityContext. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JVelocity(java.lang.String tmplName) throws WsGenException
tmplName
- the template filename
WsGenException
- when error occurs during Velocity
initialization.Method Detail |
---|
public void generate(java.io.File fs, org.apache.velocity.VelocityContext context) throws WsGenException
fs
- the output filecontext
- VelocityContext
WsGenException
- when velocity generation fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |