public static interface MessageInterpolator.Context
Modifier and Type | Method and Description |
---|---|
ConstraintDescriptor<?> |
getConstraintDescriptor() |
java.lang.Object |
getValidatedValue() |
<T> T |
unwrap(java.lang.Class<T> type)
Returns an instance of the specified type allowing access to
provider-specific APIs.
|
ConstraintDescriptor<?> getConstraintDescriptor()
ConstraintDescriptor
corresponding to the constraint being
validatedjava.lang.Object getValidatedValue()
<T> T unwrap(java.lang.Class<T> type)
ValidationException
is thrown.T
- the type of the object to be returnedtype
- the class of the object to be returnedValidationException
- if the provider does not support the call