Package org.junit.validator
Class AnnotationValidatorFactory
java.lang.Object
org.junit.validator.AnnotationValidatorFactory
Creates instances of Annotation Validators.
- Since:
- 4.12
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAnnotationValidator
(ValidateWith validateWithAnnotation) Creates the AnnotationValidator specified by the value inValidateWith
.
-
Constructor Details
-
AnnotationValidatorFactory
public AnnotationValidatorFactory()
-
-
Method Details
-
createAnnotationValidator
Creates the AnnotationValidator specified by the value inValidateWith
. Instances are cached.- Returns:
- An instance of the AnnotationValidator.
- Since:
- 4.12
-