|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.writersforge.catalan.transform.external.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.List nodes)
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.List nodes)
template - the text of a Velocity templatenodes - alternating key/value pairs for the context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||