Class TINValidator.Validator
java.lang.Object
org.apache.commons.validator.routines.TINValidator.Validator
- Enclosing class:
- TINValidator
The validation class
-
Constructor Summary
ConstructorsConstructorDescriptionValidator(String cc, int maxLength, String regex, CheckDigit routine) Creates the validator. -
Method Summary
-
Constructor Details
-
Validator
Creates the validator.- Parameters:
cc- the country codemaxLength- the max length of the TIN for the country coderegex- the regex to use to check the format.routine- the Check Digit routine
-
-
Method Details
-
getRegexValidator
Gets the RegexValidator.- Returns:
- the RegexValidator.
-