Class AntiSamyPattern

java.lang.Object
org.owasp.validator.html.model.AntiSamyPattern

public class AntiSamyPattern extends Object
An extension of the Pattern with helper methods.
Author:
Arshan Dabirsiaghi
  • Constructor Details

    • AntiSamyPattern

      public AntiSamyPattern(Pattern pattern)
      Constructor for AntiSamyPattern.
      Parameters:
      pattern - The Pattern to lookup based on the "name".
  • Method Details

    • getPattern

      public Pattern getPattern()
      Returns:
      Return the Pattern of the AntiSamyPattern.
    • matcher

      public Matcher matcher(CharSequence input)
    • matches

      public boolean matches(String other)