|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageInterpolator
Interpolate a given constraint error message. Implementations should be as tolerant as possible on syntax errors.
| Nested Class Summary | |
|---|---|
static interface |
MessageInterpolator.Context
Informations related to the interpolation context |
| Method Summary | |
|---|---|
java.lang.String |
interpolate(java.lang.String messageTemplate,
MessageInterpolator.Context context)
Interpolate the message from the constraint parameters and the actual validated object. |
java.lang.String |
interpolate(java.lang.String messageTemplate,
MessageInterpolator.Context context,
java.util.Locale locale)
Interpolate the message from the constraint parameters and the actual validated object. |
| Method Detail |
|---|
java.lang.String interpolate(java.lang.String messageTemplate,
MessageInterpolator.Context context)
MessageInterpolator
implementation. See the implementation documentation for more detail.
messageTemplate - The message to interpolate.context - contextual information related to the interpolation
java.lang.String interpolate(java.lang.String messageTemplate,
MessageInterpolator.Context context,
java.util.Locale locale)
messageTemplate - The message to interpolate.context - contextual information related to the interpolationlocale - the locale targeted for the message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||