|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.util.attribute.constraint.ConstraintValidator
public class ConstraintValidator
Checks whether values meet the provided constraints.
| Constructor Summary | |
|---|---|
ConstraintValidator()
|
|
| Method Summary | |
|---|---|
static Annotation[] |
isMet(Object value,
Annotation... constraintAnnotations)
Checks whether the value meets the constraints defined by the
provided constraintAnnotations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstraintValidator()
| Method Detail |
|---|
public static Annotation[] isMet(Object value,
Annotation... constraintAnnotations)
value meets the constraints defined by the
provided constraintAnnotations.
value - the value to be checkedconstraintAnnotations - constraint annotations defining the constraints to be
checked.
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||