public class StrutsVelocityContext
extends org.apache.velocity.VelocityContext
Constructor and Description |
---|
StrutsVelocityContext(ValueStack stack) |
StrutsVelocityContext(org.apache.velocity.VelocityContext[] chainedContexts,
ValueStack stack) |
Modifier and Type | Method and Description |
---|---|
org.apache.velocity.app.event.EventCartridge |
attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0) |
boolean |
getAllowRendering() |
int |
getCurrentMacroCallDepth() |
String |
getCurrentMacroName() |
org.apache.velocity.runtime.resource.Resource |
getCurrentResource() |
String |
getCurrentTemplateName() |
org.apache.velocity.app.event.EventCartridge |
getEventCartridge() |
List |
getMacroLibraries() |
Object[] |
getMacroNameStack() |
Object[] |
getTemplateNameStack() |
org.apache.velocity.util.introspection.IntrospectionCacheData |
icacheGet(Object arg0) |
void |
icachePut(Object arg0,
org.apache.velocity.util.introspection.IntrospectionCacheData arg1) |
boolean |
internalContainsKey(Object key) |
Object |
internalGet(String key) |
void |
popCurrentMacroName() |
void |
popCurrentTemplateName() |
void |
pushCurrentMacroName(String arg0) |
void |
pushCurrentTemplateName(String arg0) |
void |
setAllowRendering(boolean arg0) |
void |
setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0) |
void |
setMacroLibraries(List arg0) |
clone, internalGetKeys, internalPut, internalRemove
public StrutsVelocityContext(ValueStack stack)
public StrutsVelocityContext(org.apache.velocity.VelocityContext[] chainedContexts, ValueStack stack)
public boolean internalContainsKey(Object key)
internalContainsKey
in class org.apache.velocity.VelocityContext
public Object internalGet(String key)
internalGet
in class org.apache.velocity.VelocityContext
public void pushCurrentTemplateName(String arg0)
public void popCurrentTemplateName()
public String getCurrentTemplateName()
public Object[] getTemplateNameStack()
public void pushCurrentMacroName(String arg0)
public void popCurrentMacroName()
public String getCurrentMacroName()
public int getCurrentMacroCallDepth()
public Object[] getMacroNameStack()
public org.apache.velocity.util.introspection.IntrospectionCacheData icacheGet(Object arg0)
public void icachePut(Object arg0, org.apache.velocity.util.introspection.IntrospectionCacheData arg1)
public void setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0)
public org.apache.velocity.runtime.resource.Resource getCurrentResource()
public boolean getAllowRendering()
public void setAllowRendering(boolean arg0)
public void setMacroLibraries(List arg0)
public List getMacroLibraries()
public org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0)
attachEventCartridge
in interface org.apache.velocity.context.InternalEventContext
public org.apache.velocity.app.event.EventCartridge getEventCartridge()
getEventCartridge
in interface org.apache.velocity.context.InternalEventContext
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.