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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.