public class TemplateContextEditor extends Object
Constructor and Description |
---|
TemplateContextEditor() |
Modifier and Type | Method and Description |
---|---|
static org.apache.velocity.VelocityContext |
getVelocityContext(TemplateContext context)
Gets the VelocityContext from the TemplateContext.
|
static void |
setVelocityContext(TemplateContext context,
org.apache.velocity.VelocityContext velocityContext)
Sets the VelocityContext to the TemplateContext.
|
public static org.apache.velocity.VelocityContext getVelocityContext(TemplateContext context)
context
- TemplateContextpublic static void setVelocityContext(TemplateContext context, org.apache.velocity.VelocityContext velocityContext)
context
- velocityContext
-