|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A
- the Constraint
annotation this interface validates.public interface ConstraintValidator<A extends Annotation>
Interface that Constraint
annotations must implement to perform validation logic.
Method Summary | |
---|---|
void |
initialize(A annotation)
Called before this validator is used with the constraint annotation value. |
boolean |
isValid(Object value)
Indicates if the given value is valid. |
Method Detail |
---|
void initialize(A annotation)
annotation
- the annotation value this validator will be validating.boolean isValid(Object value)
value
- the value to validate.
true
if the given value is valid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.