| Modifier and Type | Field and Description |
|---|---|
| private final ExpressionFactory | expressionFactory
Factory for creating EL expressions |
| private final Locale | locale
The locale for which to interpolate the expression. |
| private static final Log | |
| private static final String | VALIDATED_VALUE_NAME
Name under which the currently validate value is bound to the EL context. |
| Access | Constructor and Description |
|---|---|
| public | ElTermResolver(Locale
the locale. locale, ExpressionFactory the expression factory. expressionFactory)Construct the resolver. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private ValueExpression | bindContextValues(String messageTemplate, MessageInterpolator.
|
| private ELContext | |
| public String | interpolate(MessageInterpolator.
contextual information related to the interpolation context,the message to interpolate expression)Implements org. |
| expressionFactory | back to summary |
|---|---|
| private final ExpressionFactory expressionFactory Factory for creating EL expressions | |
| locale | back to summary |
|---|---|
| private final Locale locale The locale for which to interpolate the expression. | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| VALIDATED_VALUE_NAME | back to summary |
|---|---|
| private static final String VALIDATED_VALUE_NAME Name under which the currently validate value is bound to the EL context. | |
| ElTermResolver | back to summary |
|---|---|
| public ElTermResolver(Locale locale, ExpressionFactory expressionFactory) Construct the resolver. The expression factory has to be passed in to ensure that it is set up early and to allow for application control.
| |
| addVariablesToElContext | back to summary |
|---|---|
| private void addVariablesToElContext(ELContext elContext, Map<String, Object> variables) | |
| bindContextValues | back to summary |
|---|---|
| private ValueExpression bindContextValues(String messageTemplate, MessageInterpolator. | |
| getElContext | back to summary |
|---|---|
| private ELContext getElContext(MessageInterpolator. | |
| interpolate | back to summary |
|---|---|
| public String interpolate(MessageInterpolator. Implements org. Doc from org. Interpolates given term based on the constraint validation context.
| |