public class CarDrivingLicenceValidator extends Object implements javax.validation.ConstraintValidator<CarDrivingLicence,String>
Constructor and Description |
---|
CarDrivingLicenceValidator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(CarDrivingLicence constraintAnnotation) |
boolean |
isValid(String value,
javax.validation.ConstraintValidatorContext context) |
public void initialize(CarDrivingLicence constraintAnnotation)
initialize
in interface javax.validation.ConstraintValidator<CarDrivingLicence,String>
public boolean isValid(String value, javax.validation.ConstraintValidatorContext context)
isValid
in interface javax.validation.ConstraintValidator<CarDrivingLicence,String>
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.