* @param component
* @param componentId
*/
private void addYavRuleForStringValidatorType(IValidator validator, Component component) {
if (ExactLengthValidator.class.isAssignableFrom(validator.getClass())) {
ExactLengthValidator exactLengthValidator = (ExactLengthValidator) validator;
buffer.append(messageBuilder.exactLengthMessage(component, exactLengthValidator));
}
else if (MinimumLengthValidator.class.isAssignableFrom(validator.getClass())) {
MinimumLengthValidator minimumLengthValidator = (MinimumLengthValidator) validator;