public interface MessageInterpolator
Modifier and Type | Interface and Description |
---|---|
static interface |
MessageInterpolator.Context
Information related to the interpolation context
|
Modifier and Type | Method and Description |
---|---|
String |
interpolate(String messageTemplate,
MessageInterpolator.Context context)
Interpolate the message template based on the contraint validation context.
|
String |
interpolate(String messageTemplate,
MessageInterpolator.Context context,
Locale locale)
Interpolate the message template based on the contraint validation context.
|
String interpolate(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 interpolationString interpolate(String messageTemplate, MessageInterpolator.Context context, Locale locale)
Locale
used is provided as a parameter.messageTemplate
- The message to interpolate.context
- contextual information related to the interpolationlocale
- the locale targeted for the messageCopyright © 2012 JBoss by Red Hat. All Rights Reserved.