|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umber.catalan.process.workers.velocity.VelocityRunner
Helper class to abstract calls to the Velocity API out of the VelocityProcessor class. This makes it possible to load the processor class when Velocity is not on the CLASSPATH, without triggering a ClassNotFoundException. VelocityRunner should be the only class in Catalan with any direct references to Velocity.
Constructor Summary | |
VelocityRunner()
|
Method Summary | |
java.lang.String |
processTemplate(java.lang.String template,
java.util.Map props)
Processes the given Velocity template against the supplied input nodes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VelocityRunner()
Method Detail |
public java.lang.String processTemplate(java.lang.String template, java.util.Map props)
template
- the text of a Velocity templateprops
- map of properties to resolve in Velocity template
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |