Class RegExpValidator

All Implemented Interfaces:
HasHandlers

public class RegExpValidator extends Validator
Regexp type validators will determine whether the value specified matches a given regular expression. The expression should be specified on the validator object as the expression property.
  • Constructor Details

    • RegExpValidator

      public RegExpValidator()
    • RegExpValidator

      public RegExpValidator(String expression)
      Constructor.
      Parameters:
      expression - the regular expression
  • Method Details

    • setExpression

      public void setExpression(String expression)
      Set the expression.
      Parameters:
      expression - the expression
    • getExpression

      public String getExpression()
      Return the expression.
      Returns:
      the expression