org.apache.wicket.bean.validation
Interface BeanValidationContext
- All Superinterfaces:
- IPropertyResolver
- All Known Implementing Classes:
- BeanValidationConfiguration
public interface BeanValidationContext
- extends IPropertyResolver
A read-only view of BeanValidationConfiguration that can be retrieved by components to
access the validator and other helpers.
- Author:
- igor
- See Also:
BeanValidationConfiguration.get()
getTagModifier
<T extends Annotation> ITagModifier<T> getTagModifier(Class<T> annotationType)
- Gets the tag modifier for the specified annotation type
- Parameters:
annotationType -
- Returns:
- tag modifier or
null if none
getValidator
javax.validation.Validator getValidator()
- Returns:
- the validator
getViolationTranslator
IViolationTranslator getViolationTranslator()
- Returns:
- the violation translator
resolveProperty
Property resolveProperty(FormComponent<?> component)
- Specified by:
resolveProperty in interface IPropertyResolver
Copyright © 2006–2016 Apache Software Foundation. All rights reserved.