public class ConstraintDefinitionValidator extends Object
| Constructor and Description |
|---|
ConstraintDefinitionValidator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
validateConstraintDefinition(Annotation annotation)
Ensures that the constraint definition is valid.
|
public static void validateConstraintDefinition(Annotation annotation)
annotation - An annotation which is annotated with Constraint.javax.validation.ConstraintDefinitionException - In case the constraint is invalid.Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.