# Class IBANValidator.Validator

java.lang.Object
org.apache.commons.validator.routines.IBANValidator.Validator

Enclosing class:
  `IBANValidator`

public static class IBANValidator.Validator extends Object
The validation class

Since:
  1.5.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Validator(String countryCode, int ibanLength, String regexWithCC)`
  Creates the validator.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getIbanLength()`
  Gets the length.
  `RegexValidator`
  `getRegexValidator()`
  Gets the RegexValidator.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Validator

    public Validator(String countryCode, int ibanLength, String regexWithCC)
    Creates the validator.
    Parameters:
      `countryCode` - The country code.
      `ibanLength` - The length of the IBAN.
      `regexWithCC` - The regex to use to check the format, the regex MUST start with the country code.

- ## Method Details

  - ### getIbanLength

    public int getIbanLength()
    Gets the length.
    Returns:
      The length.
    Since:
      1.10.0

  - ### getRegexValidator

    public RegexValidator getRegexValidator()
    Gets the RegexValidator.
    Returns:
      The RegexValidator.
    Since:
      1.8