|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umber.core.velocity.VelocityRunner
Helper class to invoke the Velocity API.
Constructor Summary | |
VelocityRunner()
|
Method Summary | |
java.lang.String |
processTemplate(java.lang.String template,
java.util.Map properties)
Processes the given Velocity template against the supplied Map of input properties. |
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 properties) throws UmberException
template
- the text of a Velocity templateproperties
- key/value pairs for the Velocity context
UmberException
- if unable to execute Velocity transform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |