Class Matcher

All Implemented Interfaces:
ContextAware, LifeCycle

public class Matcher extends ContextAwareBase implements LifeCycle
  • Constructor Details

    • Matcher

      public Matcher()
  • Method Details

    • getRegex

      public String getRegex()
    • setRegex

      public void setRegex(String regex)
    • start

      public void start()
      Specified by:
      start in interface LifeCycle
    • stop

      public void stop()
      Specified by:
      stop in interface LifeCycle
    • isStarted

      public boolean isStarted()
      Specified by:
      isStarted in interface LifeCycle
    • matches

      public boolean matches(String input) throws EvaluationException
      Checks whether the input matches the regular expression.
      Parameters:
      input -
      Returns:
      Throws:
      EvaluationException
    • isCanonEq

      public boolean isCanonEq()
    • setCanonEq

      public void setCanonEq(boolean canonEq)
    • isCaseSensitive

      public boolean isCaseSensitive()
    • setCaseSensitive

      public void setCaseSensitive(boolean caseSensitive)
    • isUnicodeCase

      public boolean isUnicodeCase()
    • setUnicodeCase

      public void setUnicodeCase(boolean unicodeCase)
    • getName

      public String getName()
    • setName

      public void setName(String name)