Class NullValidator
java.lang.Object
org.hibernate.validator.internal.constraintvalidators.bv.NullValidator
- All Implemented Interfaces:
ConstraintValidator<Null,
Object>
Validate that the object is
null
- Author:
- Alaa Nassef
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid
(Object object, ConstraintValidatorContext constraintValidatorContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.validation.ConstraintValidator
initialize
-
Constructor Details
-
NullValidator
public NullValidator()
-
-
Method Details
-
isValid
- Specified by:
isValid
in interfaceConstraintValidator<Null,
Object>
-