Class TagMatcher

java.lang.Object
org.owasp.validator.html.TagMatcher

public class TagMatcher extends Object
Uses smart matching to match tags
Author:
Kristian Rosenvold
  • Constructor Details

  • Method Details

    • matches

      public boolean matches(String tagName)
      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()