Package org.junit.validator
Class AnnotationValidatorFactory
- java.lang.Object
-
- org.junit.validator.AnnotationValidatorFactory
-
public class AnnotationValidatorFactory extends java.lang.Object
Creates instances of Annotation Validators.- Since:
- 4.12
-
-
Constructor Summary
Constructors Constructor Description AnnotationValidatorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationValidator
createAnnotationValidator(ValidateWith validateWithAnnotation)
Creates the AnnotationValidator specified by the value inValidateWith
.
-
-
-
Constructor Detail
-
AnnotationValidatorFactory
public AnnotationValidatorFactory()
-
-
Method Detail
-
createAnnotationValidator
public AnnotationValidator createAnnotationValidator(ValidateWith validateWithAnnotation)
Creates the AnnotationValidator specified by the value inValidateWith
. Instances are cached.- Returns:
- An instance of the AnnotationValidator.
- Since:
- 4.12
-
-