Class ValidCountryValidator

  • All Implemented Interfaces:
    javax.validation.ConstraintValidator<ValidCountry,​String>

    public class ValidCountryValidator
    extends Object
    implements javax.validation.ConstraintValidator<ValidCountry,​String>
    • Constructor Detail

      • ValidCountryValidator

        public ValidCountryValidator()
    • Method Detail

      • isValid

        public boolean isValid​(String country,
                               javax.validation.ConstraintValidatorContext constraintValidatorContext)
        Specified by:
        isValid in interface javax.validation.ConstraintValidator<ValidCountry,​String>