Class TINValidator.Validator

java.lang.Object
org.apache.commons.validator.routines.TINValidator.Validator
Enclosing class:
TINValidator

public static class TINValidator.Validator extends Object
The validation class
  • Constructor Details

    • Validator

      public Validator(String cc, int maxLength, String regex, CheckDigit routine)
      Creates the validator.
      Parameters:
      cc - the country code
      maxLength - the max length of the TIN for the country code
      regex - the regex to use to check the format.
      routine - the Check Digit routine
  • Method Details

    • getRegexValidator

      public RegexValidator getRegexValidator()
      Gets the RegexValidator.
      Returns:
      the RegexValidator.