类 ContextTool
java.lang.Object
org.apache.velocity.tools.generic.SafeConfig
org.apache.velocity.tools.generic.ContextTool
org.apache.velocity.tools.view.ViewContextTool
org.apache.velocity.tools.view.tools.ContextTool
已过时。
Use
ViewContextTool
-
字段概要
字段从类继承的字段 org.apache.velocity.tools.view.ViewContextTool
application, request, session
从类继承的字段 org.apache.velocity.tools.generic.ContextTool
context, toolbox
从类继承的字段 org.apache.velocity.tools.generic.SafeConfig
LOCK_CONFIG_KEY, OLD_LOCK_CONFIG_KEY, SAFE_MODE_KEY
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
已过时。IfSafeConfig.isConfigLocked()
returnstrue
, then this method does nothing; otherwise, iffalse
, this will create a newValueParser
from the specified Map of params and callSafeConfig.configure(ValueParser)
with it.void
已过时。从类继承的方法 org.apache.velocity.tools.view.ViewContextTool
configure, fillKeyset
从类继承的方法 org.apache.velocity.tools.generic.ContextTool
contains, get, getKeys, getThis, getToolbox, getValues
从类继承的方法 org.apache.velocity.tools.generic.SafeConfig
isConfigLocked, isSafeMode, setLockConfig, setSafeMode
-
字段详细资料
-
OLD_SAFE_MODE_KEY
已过时。- 另请参阅:
-
-
构造器详细资料
-
ContextTool
public ContextTool()已过时。
-
-
方法详细资料
-
init
已过时。 -
configure
已过时。从类复制的说明:SafeConfig
IfSafeConfig.isConfigLocked()
returnstrue
, then this method does nothing; otherwise, iffalse
, this will create a newValueParser
from the specified Map of params and callSafeConfig.configure(ValueParser)
with it. Then this will check the parameters itself to find out whether or not the configuration for this tool should be put into safe mode or have its config locked. The safe mode value should be a boolean under the keySafeConfig.SAFE_MODE_KEY
and the lock value should be a boolean under the keySafeConfig.LOCK_CONFIG_KEY
.- 覆盖:
configure
在类中SafeConfig
-