类 ServletToolboxRuleSet.BooleanConfigRule

java.lang.Object
Rule
org.apache.velocity.tools.view.servlet.ServletToolboxRuleSet.BooleanConfigRule
直接已知子类:
ServletToolboxRuleSet.CreateSessionRule, ServletToolboxRuleSet.XhtmlRule
封闭类:
ServletToolboxRuleSet

protected abstract class ServletToolboxRuleSet.BooleanConfigRule extends Rule
Abstract rule for configuring boolean options on the parent object/element of the matching element.
  • 构造器详细资料

    • BooleanConfigRule

      protected BooleanConfigRule()
  • 方法详细资料

    • body

      public void body(String ns, String name, String text) throws Exception
      抛出:
      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.
      参数:
      parent - the parent object/element in the digester's stack
      value - the boolean value contained in the current element
      抛出:
      Exception