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