org.apache.commons.digester3
Class RegexMatcher
java.lang.Object
org.apache.commons.digester3.RegexMatcher
- Direct Known Subclasses:
- SimpleRegexMatcher
public abstract class RegexMatcher
- extends Object
Regular expression matching strategy for RegexRules.
- Since:
- 1.5
Method Summary |
abstract boolean |
match(String pathPattern,
String rulePattern)
Returns true if the given pattern matches the given path according to the regex algorithm that this strategy
applies. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexMatcher
public RegexMatcher()
match
public abstract boolean match(String pathPattern,
String rulePattern)
- Returns true if the given pattern matches the given path according to the regex algorithm that this strategy
applies.
- Parameters:
pathPattern
- the standard digester path representing the elementrulePattern
- the regex pattern the path will be tested against
- Returns:
- true if the given pattern matches the given path
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.