ExactLengthValidator exactLengthValidator = (ExactLengthValidator) validator;
buffer.append(messageBuilder.exactLengthMessage(component, exactLengthValidator));
}
else if (MinimumLengthValidator.class.isAssignableFrom(validator.getClass())) {
MinimumLengthValidator minimumLengthValidator = (MinimumLengthValidator) validator;
buffer.append(messageBuilder.minimumMessage(component, minimumLengthValidator));
}
else if (MaximumLengthValidator.class.isAssignableFrom(validator.getClass())) {
MaximumLengthValidator maximumLengthValidator = (MaximumLengthValidator) validator;