Interface IbanValidator
- All Superinterfaces:
Cloneable
,Validator
,ValueValidator
- All Known Implementing Classes:
IbanValidatorImpl
Verifies that a field contains a valid IBAN.
The optional argument "format" is used to configure valid countries.
If "format" is empty or null all countries are accepted
The "format" String contains ISO country codes separated by ",".
For Example: "CH,DE,GB"
The apache commons IBAN validator is used for the validation.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.validate.api.validators.Validator
Validator.MergeMode
-
Method Summary
Methods inherited from interface ch.tocco.nice2.validate.api.validators.Validator
canMergeConstraints, clone, doContinueOnFailure, doNegate, getLevel, getName, getRunOn, getType, hasName, mergeConstraints, setContinue, setLevel, setName, setNegate, setRunOn, validate
-
Method Details
-
init
- Throws:
ModelBuildException
-