public class ResourceBundleMessageInterpolator extends Object implements javax.validation.MessageInterpolator
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_VALIDATION_MESSAGES
The name of the default message bundle.
|
static String |
USER_VALIDATION_MESSAGES
The name of the user-provided message bundle as defined in the specification.
|
Constructor and Description |
---|
ResourceBundleMessageInterpolator() |
ResourceBundleMessageInterpolator(ResourceBundleLocator userResourceBundleLocator) |
ResourceBundleMessageInterpolator(ResourceBundleLocator userResourceBundleLocator,
boolean cacheMessages) |
Modifier and Type | Method and Description |
---|---|
String |
interpolate(String message,
javax.validation.MessageInterpolator.Context context) |
String |
interpolate(String message,
javax.validation.MessageInterpolator.Context context,
Locale locale) |
public static final String DEFAULT_VALIDATION_MESSAGES
public static final String USER_VALIDATION_MESSAGES
public ResourceBundleMessageInterpolator()
public ResourceBundleMessageInterpolator(ResourceBundleLocator userResourceBundleLocator)
public ResourceBundleMessageInterpolator(ResourceBundleLocator userResourceBundleLocator, boolean cacheMessages)
Copyright © 2007-2013 Red Hat Middleware, LLC. All Rights Reserved