Package org.apache.commons.validator.routines

# 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

- ## 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 java.lang.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