|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.util.beanvalidation.ValidationErrorUtil
public final class ValidationErrorUtil
ValidationError Utils
Method Summary | |
---|---|
static String |
getFieldname(javax.validation.ConstraintViolation constraintViolation,
ValidationErrorConfig config,
Locale locale)
Return the field name as it will appear in the message |
static String |
getValue1(javax.validation.ConstraintViolation constraintViolation,
ValidationErrorConfig config)
Return the attribute's value to set as the value#1 of the message |
static String |
getValue2(javax.validation.ConstraintViolation constraintViolation,
ValidationErrorConfig config)
Return the attribute's value to set as the value#2 of the message |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getValue1(javax.validation.ConstraintViolation constraintViolation, ValidationErrorConfig config)
constraintViolation
- The Constraint violationconfig
- The config
public static String getValue2(javax.validation.ConstraintViolation constraintViolation, ValidationErrorConfig config)
constraintViolation
- The Constraint violationconfig
- The config
public static String getFieldname(javax.validation.ConstraintViolation constraintViolation, ValidationErrorConfig config, Locale locale)
constraintViolation
- The Constraint violationconfig
- The configlocale
- The locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |