# Uses of Class
org.apache.commons.validator.routines.CodeValidator

Packages that use CodeValidator
Package
Description
org.apache.commons.validator.routines
This package contains independent validation routines.

- ## Uses of CodeValidator in org.apache.commons.validator.routines

  Fields in org.apache.commons.validator.routines declared as CodeValidator
  Modifier and Type
  Field
  Description
  `static final CodeValidator`
  CreditCardValidator.`AMEX_VALIDATOR`
  American Express (Amex) Card Validator 34xxxx (15) 37xxxx (15)
  `static final CodeValidator`
  CreditCardValidator.`DINERS_VALIDATOR`
  Diners Card Validator 300xxx - 305xxx (14) 3095xx (14) 36xxxx (14) 38xxxx (14) 39xxxx (14)
  `static final CodeValidator`
  CreditCardValidator.`DISCOVER_VALIDATOR`
  Discover Card Validator
  `static final CodeValidator`
  CreditCardValidator.`MASTERCARD_VALIDATOR`
  Mastercard Card Validator
  `static final CodeValidator`
  CreditCardValidator.`MASTERCARD_VALIDATOR_PRE_OCT2016`
  Deprecated.
  for use until Oct 2016 only
  `static final CodeValidator`
  CreditCardValidator.`VISA_VALIDATOR`
  Visa Card Validator
  `static final CodeValidator`
  CreditCardValidator.`VPAY_VALIDATOR`
  VPay (Visa) Card Validator
  Constructors in org.apache.commons.validator.routines with parameters of type CodeValidator
  Modifier
  Constructor
  Description
  ``
  `CreditCardValidator(CodeValidator[] creditCardValidators)`
  Constructs a new CreditCardValidator with the specified `CodeValidator`s.
  ``
  `CreditCardValidator(CodeValidator[] creditCardValidators, CreditCardValidator.CreditCardRange[] creditCardRanges)`
  Constructs a new CreditCardValidator with the specified `CodeValidator`s and `CreditCardValidator.CreditCardRange`s.