Package org.apache.commons.digester
Class RegexMatcher
java.lang.Object
org.apache.commons.digester.RegexMatcher
- Direct Known Subclasses:
SimpleRegexMatcher
Regular expression matching strategy for RegexRules.
- Since:
- 1.5
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RegexMatcher
public RegexMatcher()
-
-
Method Details
-
match
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
-