Class PatternRuleMatcher
java.lang.Object
org.apache.commons.digester3.PatternRuleMatcher
- All Implemented Interfaces:
RuleMatcher
- Since:
- 3.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPatternRuleMatcher(String pattern) PatternRuleMatcher(String pattern, String namespaceURI) -
Method Summary
-
Field Details
-
pattern
-
namespaceURI
-
-
Constructor Details
-
PatternRuleMatcher
-
PatternRuleMatcher
-
-
Method Details
-
match
Use the specified parameter to perform a test.- Specified by:
matchin interfaceRuleMatcher- Parameters:
namespace- the namespace URI of the matching element, or an empty string if the parser is not namespace aware or the element has no namespacepattern- Nesting pattern to be matched for this Rulename- the local name if the parser is namespace aware, or just the element name otherwiseattributes- The attribute list of this element- Returns:
- true, if the test succeeds, false otherwise
-
getPattern
-
getNamespaceURI
-
hashCode
-
equals
-
toString
-