} else if (annotationClass.equals(NotEmpty.class)) {
return new RequiredClientValidator();
} else if (annotationClass.equals(Email.class)) {
return new EMailValidator();
} else if (annotationClass.equals(Length.class)) {
Length length = (Length) annotation;
LengthValidator lengthValidator = new LengthValidator();
lengthValidator.setMinimum(length.max());
lengthValidator.setMinimum(length.min());
LengthClientValidator lengthClientValidator = new LengthClientValidator();
lengthClientValidator.setLengthValidator(lengthValidator);
return lengthClientValidator;
} else if (annotationClass.equals(Pattern.class)) {
Pattern pattern = (Pattern) annotation;