@FunctionalInterface public interface IViolationTranslator
ConstraintViolation
s into Wicket's ValidationError
sModifier and Type | Method and Description |
---|---|
<T> ValidationError |
convert(javax.validation.ConstraintViolation<T> violation)
Converts a
ConstraintViolation into a ValidationError |
<T> ValidationError convert(javax.validation.ConstraintViolation<T> violation)
ConstraintViolation
into a ValidationError
T
- violation
- constraint violation from bean validationCopyright © 2006–2022 Apache Software Foundation. All rights reserved.