Example usage for Java org.springframework.validation.beanvalidation LocalValidatorFactoryBean fields, constructors, methods, implement or subclass
The text is from its open source code.
void | afterPropertiesSet() |
Validator | getValidator() |
void | setConstraintValidatorFactory(ConstraintValidatorFactory constraintValidatorFactory) Specify a custom ConstraintValidatorFactory to use for this ValidatorFactory. |
void | setMappingLocations(Resource... mappingLocations) Specify resource locations to load XML constraint mapping files from, if any. |
void | setMessageInterpolator(MessageInterpolator messageInterpolator) Specify a custom MessageInterpolator to use for this ValidatorFactory and its exposed default Validator. |
void | setProviderClass(Class providerClass) Specify the desired provider class, if any. |
void | setValidationMessageSource(MessageSource messageSource) Specify a custom Spring MessageSource for resolving validation messages, instead of relying on JSR-303's default "ValidationMessages.properties" bundle in the classpath. |
void | validate(Object target, Errors errors, Object... validationHints) |