public class ScriptVelocityContext
extends org.xwiki.velocity.XWikiVelocityContext
| Constructor and Description |
|---|
ScriptVelocityContext(org.apache.velocity.VelocityContext parent,
boolean logDeprecated,
Set<String> reservedBindings) |
ScriptVelocityContext(org.apache.velocity.VelocityContext parent,
Set<String> reservedBindings) |
| Modifier and Type | Method and Description |
|---|---|
ScriptContext |
getScriptContext() |
Object |
internalPut(String key,
Object value) |
Object |
internalRemove(String key) |
void |
setScriptContext(ScriptContext scriptContext) |
clone, internalContainsKey, internalGet, internalGetKeyspublic ScriptVelocityContext(org.apache.velocity.VelocityContext parent,
Set<String> reservedBindings)
parent - the initial Velocity contextreservedBindings - the binding that should not be synchronizedpublic ScriptVelocityContext(org.apache.velocity.VelocityContext parent,
boolean logDeprecated,
Set<String> reservedBindings)
parent - the initial Velocity contextlogDeprecated - true if use of deprecated binding should be loggedreservedBindings - the binding that should not be synchronizedpublic ScriptContext getScriptContext()
public void setScriptContext(ScriptContext scriptContext)
scriptContext - the current script contextpublic Object internalPut(String key, Object value)
internalPut in class org.apache.velocity.VelocityContextCopyright © 2004–2022 XWiki. All rights reserved.