org.apache.bval.jsr303.util
Class ConstraintDefinitionValidator
java.lang.Object
org.apache.bval.jsr303.util.ConstraintDefinitionValidator
public class ConstraintDefinitionValidator
- extends Object
Internal validator that ensures the correct definition of constraint
annotations.
- Author:
- Carlos Vara
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstraintDefinitionValidator
public ConstraintDefinitionValidator()
validateConstraintDefinition
public static void validateConstraintDefinition(Annotation annotation)
- Ensures that the constraint definition is valid.
- Parameters:
annotation
- An annotation which is annotated with Constraint
.
- Throws:
ConstraintDefinitionException
- In case the constraint is invalid.
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.