org.apache.ddlutils.io
Class DigesterRules
java.lang.Object
org.apache.commons.digester.RulesBase
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 $
Fields inherited from class org.apache.commons.digester.RulesBase |
cache, digester, namespaceURI, rules |
Method Summary |
void |
add(java.lang.String pattern,
org.apache.commons.digester.Rule rule)
|
boolean |
isCaseSensitive()
Determines whether this rules object matches case sensitively. |
protected java.util.List |
lookup(java.lang.String namespaceURI,
java.lang.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 |
DigesterRules
public DigesterRules()
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(java.lang.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 java.util.List lookup(java.lang.String namespaceURI,
java.lang.String pattern)
-
- Overrides:
lookup
in class org.apache.commons.digester.RulesBase
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.