{
application.addConverter(conv.value(), clazz.getName());
}
}
FacesValidator val = (FacesValidator) clazz
.getAnnotation(FacesValidator.class);
if (val != null)
{
if (log.isLoggable(Level.FINEST))
{
log.finest("addValidator(" + val.value() + "," + clazz.getName()
+ ")");
}
//If there is a previous entry on Application Configuration Resources,
//the entry there takes precedence
if (dispenser.getValidatorClass(val.value()) == null)
{
application.addValidator(val.value(), clazz.getName());
if (val.isDefault())
{
application.addDefaultValidatorId(val.value());
}
}
}
FacesRenderer rend = (FacesRenderer) clazz