Element functionsElement = DomUtils.getSingleSubElement(element, VALIDATION_BEANS_NAMESPACE, ANNOTATION_HANDLERS_ELEMENT);
if (functionsElement == null) {
return;
}
Iterator handlerElements = new SubElementsIterator(functionsElement, VALIDATION_BEANS_NAMESPACE, HANDLER_ELEMENT);
List propertyHandlers = new ArrayList();
List classHandlers = new ArrayList();
while (handlerElements.hasNext()) {
Element handlerElement = (Element) handlerElements.next();
String className = handlerElement.getAttribute(AnnotationBasedValidatorBeanDefinitionParser.CLASS_ATTR);
Object handler = loadAndInstantiate(className);
if (PropertyValidationAnnotationHandler.class.isInstance(handler)) {
propertyHandlers.add(handler);
} else if (ClassValidationAnnotationHandler.class.isInstance(handler)) {