org.apache.velocity.tools.view.servlet
Class ServletToolboxRuleSet.BooleanConfigRule
java.lang.Object
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 Rule
Abstract rule for configuring boolean options on the parent
object/element of the matching element.
Method Summary |
void |
body(java.lang.String ns,
java.lang.String name,
java.lang.String text)
|
abstract void |
setBoolean(java.lang.Object parent,
java.lang.Boolean value)
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletToolboxRuleSet.BooleanConfigRule
protected ServletToolboxRuleSet.BooleanConfigRule()
body
public void body(java.lang.String ns,
java.lang.String name,
java.lang.String text)
throws java.lang.Exception
- Throws:
java.lang.Exception
setBoolean
public abstract void setBoolean(java.lang.Object parent,
java.lang.Boolean value)
throws java.lang.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:
java.lang.Exception
Copyright (c) 2003-2007 Apache Software Foundation