|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.data.validation.Constraints.Validator<T>
public abstract static class Constraints.Validator<T>
Super-type for validators.
Constructor Summary | |
---|---|
Constraints.Validator()
|
Method Summary | |
---|---|
abstract boolean |
isValid(T object)
Returns true if this value is valid. |
boolean |
isValid(T object,
javax.validation.ConstraintValidatorContext constraintContext)
Returns true if this value is valid for the given constraint. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Constraints.Validator()
Method Detail |
---|
public abstract boolean isValid(T object)
true
if this value is valid.
public boolean isValid(T object, javax.validation.ConstraintValidatorContext constraintContext)
true
if this value is valid for the given constraint.
constraintContext
- The JSR-303 validation context.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |