| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MessageInterpolator
Interpolate a given constraint violation message. Implementations should be as tolerant as possible on syntax errors.
| Nested Class Summary | |
|---|---|
static interface | 
MessageInterpolator.Context
Information related to the interpolation context  | 
| Method Summary | |
|---|---|
 java.lang.String | 
interpolate(java.lang.String messageTemplate,
            MessageInterpolator.Context context)
Interpolate the message template based on the contraint validation context.  | 
 java.lang.String | 
interpolate(java.lang.String messageTemplate,
            MessageInterpolator.Context context,
            java.util.Locale locale)
Interpolate the message template based on the contraint validation context.  | 
| 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)
Locale used is provided as a parameter.
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 | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41