Implementations should be as tolerant as possible on syntax errors. Implementations must be thread-safe.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | MessageInterpolator.Context
Information related to the interpolation context. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: interpolated error messagethe message to interpolate messageTemplate, MessageInterpolator.contextual information related to the interpolation contextInterpolates the message template based on the constraint validation context. |
| public String | Returns: interpolated error messagethe message to interpolate messageTemplate, MessageInterpolator.contextual information related to the interpolation context,the locale targeted for the message locale)Interpolates the message template based on the constraint validation context. |
| interpolate | back to summary |
|---|---|
| public String interpolate(String messageTemplate, MessageInterpolator. Interpolates the message template based on the constraint validation context.
The locale is defaulted according to the
| |
| interpolate | back to summary |
|---|---|
| public String interpolate(String messageTemplate, MessageInterpolator. Interpolates the message template based on the constraint validation context.
The
| |
| Modifier and Type | Method and Description |
|---|---|
| public ConstraintDescriptor | Returns: ConstraintDescriptor corresponding to the constraint being
validated
|
| public Object | |
| public < the type of the object to be returned T> T |
| getConstraintDescriptor | back to summary |
|---|---|
public ConstraintDescriptor
| |
| getValidatedValue | back to summary |
|---|---|
public Object getValidatedValue()
| |
| unwrap | back to summary |
|---|---|
| public <T> T unwrap(Class<T> type) Returns an instance of the specified type allowing access to
provider-specific APIs. If the Jakarta Bean Validation provider
implementation does not support the specified class,
| |