public class CubaValidationMessagesInterpolator
extends java.lang.Object
implements javax.validation.MessageInterpolator
Constructor and Description |
---|
CubaValidationMessagesInterpolator(Messages messages,
java.util.Locale locale) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
interpolate(java.lang.String messageTemplate,
javax.validation.MessageInterpolator.Context context) |
java.lang.String |
interpolate(java.lang.String messageTemplate,
javax.validation.MessageInterpolator.Context context,
java.util.Locale locale) |
public CubaValidationMessagesInterpolator(Messages messages, java.util.Locale locale)
public java.lang.String interpolate(java.lang.String messageTemplate, javax.validation.MessageInterpolator.Context context)
interpolate
in interface javax.validation.MessageInterpolator
public java.lang.String interpolate(java.lang.String messageTemplate, javax.validation.MessageInterpolator.Context context, java.util.Locale locale)
interpolate
in interface javax.validation.MessageInterpolator