public class NullConstraintValidator extends Object implements ConstraintValidator<Null,Object>
Description:
| 构造器和说明 |
|---|
NullConstraintValidator() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
validate(Object value,
Null constraintAnnotation)
main method that invoke by
Validator
in ValidatorContext to validate parameter
under the A annotation. |
public boolean validate(Object value, Null constraintAnnotation)
ConstraintValidatorValidator
in ValidatorContext to validate parameter
under the A annotation.validate 在接口中 ConstraintValidator<Null,Object>value - parameter valueconstraintAnnotation - parameter annotationCopyright © 2020. All rights reserved.