| java.lang.Object org.strecks.validator.internal.ValidationAnnotationReader
ValidationAnnotationReader | public class ValidationAnnotationReader (Code) | | Looks for ValidatorFactory in the ValidBindingForm form bean. Identifies these as
annotations which themselves are annotated using the ValidatorFactoryClass annotation
author: Phil Zoio |
Method Summary | |
List<ValidatorWrapper> | addValidator(List<ValidatorWrapper> validators, ValidatorWrapper wrapper) | void | checkValidatorType(String propertyName, Method getter, Class validatorClass, Class interfaceClass, Class<? extends Annotation> annotationType) | ConversionHandler | getConversionHandler(BindConvertInfo info) | Converter | getConverter(Class thisClass, String propertyName, BindConvertInfo info) | Method | getGetter(Method method) | MethodValidators | newMethodValidators(Class> declaringClass, OrderedProperty orderedProperty, List<ValidatorWrapper> validators, Converter converter) | MethodValidators | readMethodAnnotations(Method method, String propertyName, Converter converter) | public ValidationInfo | readValidationHandlers(Object bean, BindConvertInfo info) |
readValidationHandlers | public ValidationInfo readValidationHandlers(Object bean, BindConvertInfo info)(Code) | | Parameters: bean - the bean being validated Parameters: info - contains the bind handlers and converters for the bean |
|
|