org.apache.commons.digester
Class RegexMatcher
java.lang.Object
org.apache.commons.digester.RegexMatcher
public abstract class RegexMatcher
extends java.lang.Object
Regular expression matching strategy for RegexRules.
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.
|
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.
pathPattern
- the standard digester path representing the elementrulePattern
- the regex pattern the path will be tested against
- true if the given pattern matches the given path
Copyright 2001-2005 The Apache Software Foundation.