-
- All Implemented Interfaces:
- javax.validation.ConstraintValidator<javax.validation.constraints.AssertTrue,Boolean>
public class AssertTrueValidator
extends Object
implements javax.validation.ConstraintValidator<javax.validation.constraints.AssertTrue,Boolean>
Validates that the value passed is true
- Author:
- Alaa Nassef
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
void |
initialize(javax.validation.constraints.AssertTrue constraintAnnotation) |
boolean |
isValid(Boolean bool,
javax.validation.ConstraintValidatorContext constraintValidatorContext) |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved