|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport org.apache.commons.jelly.tags.velocity.VelocityTagSupport
Support methods for the Velocity tag library. Currently this is only used to get an instance of the VelocityEngine. For each unique base directory specified, a new VelocityEngine instance is stored in the context (as the author hasn't figured out how to change the resource loader of an already init'd VelocityEngine).
Field Summary | |
static java.lang.String |
VELOCITY_ENGINE_VAR_NAME
The VelocityEngine variable name in the JellyContext. |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
VelocityTagSupport()
|
Method Summary | |
org.apache.velocity.app.VelocityEngine |
getVelocityEngine(java.lang.String basedir)
Gets or creates a VelocityEngine if one doesn't already exist for the specified base directory. |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.jelly.Tag |
doTag |
Field Detail |
public static final java.lang.String VELOCITY_ENGINE_VAR_NAME
Constructor Detail |
public VelocityTagSupport()
Method Detail |
public org.apache.velocity.app.VelocityEngine getVelocityEngine(java.lang.String basedir) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |