public class StrutsVelocityContext extends org.apache.velocity.VelocityContext implements ValueStackProvider
| Constructor and Description |
|---|
StrutsVelocityContext(List<org.apache.velocity.VelocityContext> chainedContexts,
ValueStack stack)
Creates a content with link to the ValueStack and any other Velocity contexts
|
StrutsVelocityContext(ValueStack stack)
Deprecated.
please use
StrutsVelocityContext(List, ValueStack)
and pass {null} or empty list if no chained contexts were defined |
StrutsVelocityContext(org.apache.velocity.VelocityContext[] chainedContexts,
ValueStack stack)
Deprecated.
please use
StrutsVelocityContext(List, ValueStack) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
chainedContextGet(String key) |
protected List<Function<String,Object>> |
contextGetterList() |
ValueStack |
getValueStack() |
boolean |
internalContainsKey(String key) |
Object |
internalGet(String key) |
protected Object |
stackGet(String key) |
protected Object |
superInternalGet(String key) |
clone, internalGetKeys, internalPut, internalRemovepublic StrutsVelocityContext(List<org.apache.velocity.VelocityContext> chainedContexts, ValueStack stack)
chainedContexts - Existing Velocity contexts to chain tostack - Struts ValueStack@Deprecated public StrutsVelocityContext(ValueStack stack)
StrutsVelocityContext(List, ValueStack)
and pass {null} or empty list if no chained contexts were defined@Deprecated public StrutsVelocityContext(org.apache.velocity.VelocityContext[] chainedContexts, ValueStack stack)
StrutsVelocityContext(List, ValueStack)public boolean internalContainsKey(String key)
internalContainsKey in class org.apache.velocity.VelocityContextpublic Object internalGet(String key)
internalGet in class org.apache.velocity.VelocityContextpublic ValueStack getValueStack()
getValueStack in interface ValueStackProviderCopyright © 2000–2024 Apache Software Foundation. All rights reserved.