java.lang.Object
org.apache.commons.digester.RulesBase
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.io.DigesterRules
All Implemented Interfaces:
org.apache.commons.digester.Rules

public class DigesterRules extends org.apache.commons.digester.RulesBase
An extended rules implementation that is able to match case-insensitively. Per default, the rules are matches disregarding the case.
Version:
$Revision: 289996 $
  • Field Summary

    Fields inherited from class org.apache.commons.digester.RulesBase

    cache, digester, namespaceURI, rules
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(String pattern, org.apache.commons.digester.Rule rule)
    boolean
    Determines whether this rules object matches case sensitively.
    protected List
    lookup(String namespaceURI, String pattern)
    void
    setCaseSensitive(boolean beCaseSensitive)
    Specifies whether this rules object shall match case sensitively.

    Methods inherited from class org.apache.commons.digester.RulesBase

    clear, getDigester, getNamespaceURI, match, match, rules, setDigester, setNamespaceURI

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DigesterRules

      public DigesterRules()
  • Method Details

    • isCaseSensitive

      public boolean isCaseSensitive()
      Determines whether this rules object matches case sensitively.
      Returns:
      true if the case of the pattern matters
    • setCaseSensitive

      public void setCaseSensitive(boolean beCaseSensitive)
      Specifies whether this rules object shall match case sensitively.
      Parameters:
      beCaseSensitive - true if the case of the pattern shall matter
    • add

      public void add(String pattern, org.apache.commons.digester.Rule rule)
      Specified by:
      add in interface org.apache.commons.digester.Rules
      Overrides:
      add in class org.apache.commons.digester.RulesBase
    • lookup

      protected List lookup(String namespaceURI, String pattern)
      Overrides:
      lookup in class org.apache.commons.digester.RulesBase