Package org.owasp.validator.html
Class TagMatcher
java.lang.Object
org.owasp.validator.html.TagMatcher
Uses smart matching to match tags
- Author:
- Kristian Rosenvold
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TagMatcher
-
-
Method Details
-
matches
Examines if this tag matches the values in this matcher. Please note that this is case-insensitive, which is ok for html and xhtml, but not really for xml- Parameters:
tagName
- The tag name to look for- Returns:
- true if the tag name matches this mach
-
size
public int size()
-