类 ServletToolboxRuleSet.CreateSessionRule
java.lang.Object
Rule
org.apache.velocity.tools.view.servlet.ServletToolboxRuleSet.BooleanConfigRule
org.apache.velocity.tools.view.servlet.ServletToolboxRuleSet.CreateSessionRule
protected final class ServletToolboxRuleSet.CreateSessionRule
extends ServletToolboxRuleSet.BooleanConfigRule
Rule that sets
setCreateSession()
for the top object
on the stack, which must be a
org.apache.velocity.tools.ServletToolboxManager
.-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
setBoolean
(Object obj, Boolean b) Takes the parent object and boolean value in order to call the appropriate method on the parent for the implementing rule.从类继承的方法 org.apache.velocity.tools.view.servlet.ServletToolboxRuleSet.BooleanConfigRule
body
-
构造器详细资料
-
CreateSessionRule
protected CreateSessionRule()
-
-
方法详细资料
-
setBoolean
Takes the parent object and boolean value in order to call the appropriate method on the parent for the implementing rule.- 指定者:
setBoolean
在类中ServletToolboxRuleSet.BooleanConfigRule
- 参数:
obj
- the parent object/element in the digester's stackb
- the boolean value contained in the current element- 抛出:
Exception
-