Class PropertyValidatorValidator
- java.lang.Object
-
- org.openxava.validators.hibernate.PropertyValidatorValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<PropertyValidator,java.lang.Object>
public class PropertyValidatorValidator extends java.lang.Object implements javax.validation.ConstraintValidator<PropertyValidator,java.lang.Object>
Implements a PropertyValidator of OpenXava as a Bean Validation Constraint.- Author:
- Javier Paniza
-
-
Constructor Summary
Constructors Constructor Description PropertyValidatorValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(PropertyValidator propertyValidator)
boolean
isValid(java.lang.Object value, javax.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
initialize
public void initialize(PropertyValidator propertyValidator)
- Specified by:
initialize
in interfacejavax.validation.ConstraintValidator<PropertyValidator,java.lang.Object>
-
isValid
public boolean isValid(java.lang.Object value, javax.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<PropertyValidator,java.lang.Object>
-
-