Class ServletToolboxRuleSet.CreateSessionRule
java.lang.Object
Rule
org.apache.velocity.tools.view.servlet.ServletToolboxRuleSet.BooleanConfigRule
org.apache.velocity.tools.view.servlet.ServletToolboxRuleSet.CreateSessionRule
- Enclosing class:
- ServletToolboxRuleSet
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
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Methods inherited from class org.apache.velocity.tools.view.servlet.ServletToolboxRuleSet.BooleanConfigRule
body
-
Constructor Details
-
CreateSessionRule
protected CreateSessionRule()
-
-
Method Details
-
setBoolean
Description copied from class:ServletToolboxRuleSet.BooleanConfigRule
Takes the parent object and boolean value in order to call the appropriate method on the parent for the implementing rule.- Specified by:
setBoolean
in classServletToolboxRuleSet.BooleanConfigRule
- Parameters:
obj
- the parent object/element in the digester's stackb
- the boolean value contained in the current element- Throws:
Exception
-