Class ServletToolboxRuleSet.BooleanConfigRule
- java.lang.Object
-
- org.apache.commons.digester.Rule
-
- org.apache.velocity.tools.view.servlet.ServletToolboxRuleSet.BooleanConfigRule
-
- Direct Known Subclasses:
ServletToolboxRuleSet.CreateSessionRule,ServletToolboxRuleSet.XhtmlRule
- Enclosing class:
- ServletToolboxRuleSet
protected abstract class ServletToolboxRuleSet.BooleanConfigRule extends org.apache.commons.digester.RuleAbstract rule for configuring boolean options on the parent object/element of the matching element.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBooleanConfigRule()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidbody(String ns, String name, String text)abstract voidsetBoolean(Object parent, Boolean value)Takes the parent object and boolean value in order to call the appropriate method on the parent for the implementing rule.
-
-
-
Method Detail
-
body
public void body(String ns, String name, String text) throws Exception
- Overrides:
bodyin classorg.apache.commons.digester.Rule- Throws:
Exception
-
setBoolean
public abstract void setBoolean(Object parent, Boolean value) throws Exception
Takes the parent object and boolean value in order to call the appropriate method on the parent for the implementing rule.- Parameters:
parent- the parent object/element in the digester's stackvalue- the boolean value contained in the current element- Throws:
Exception
-
-