if (validatorClass != null && !"".equals(validatorClass.trim())) //$NON-NLS-1$
{
final ValidatorTypeInfo typeInfo = DTComponentIntrospector
.getValidator(validatorId, validatorClass);
final TLDValidatorTagElement tagElement = new TLDValidatorTagElement(
tldDecl, typeInfo, new NullAttributeAdvisor());
return tagElement;
}
}
// we know (actually we assume by contract) that this a validator
// so create an unknown converter tag for it
return new TLDValidatorTagElement(tldDecl, ValidatorTypeInfo.UNKNOWN, new NullAttributeAdvisor());
}