org.apache.velocity.tools.view.servlet
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.Rule
Abstract rule for configuring boolean options on the parent
object/element of the matching element.
Fields inherited from class org.apache.commons.digester.Rule |
digester, namespaceURI |
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 org.apache.commons.digester.Rule |
begin, begin, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI |
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
- Overrides:
body
in class org.apache.commons.digester.Rule
- 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