org.springframework.webflow.expression.el
Class FlowResourceELResolver
java.lang.Object
javax.el.ELResolver
org.springframework.webflow.expression.el.FlowResourceELResolver
public class FlowResourceELResolver
- extends javax.el.ELResolver
Custom EL resolver that resolves the messages from the active flow's MessageSource
. The message source is
indexed under the key resourceBundle
. To access a message, specify its key e.g.
resourceBundle.myMessage
.
- Author:
- Jeremy Grelle
Fields inherited from class javax.el.ELResolver |
RESOLVABLE_AT_DESIGN_TIME, TYPE |
Method Summary |
java.lang.Class<?> |
getCommonPropertyType(javax.el.ELContext context,
java.lang.Object base)
|
java.util.Iterator<java.beans.FeatureDescriptor> |
getFeatureDescriptors(javax.el.ELContext context,
java.lang.Object base)
|
protected java.util.Locale |
getLocale()
|
protected org.springframework.context.MessageSource |
getMessageSource()
|
protected RequestContext |
getRequestContext()
|
java.lang.Class<?> |
getType(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
|
java.lang.Object |
getValue(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
|
boolean |
isReadOnly(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
|
void |
setValue(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
|
Methods inherited from class javax.el.ELResolver |
invoke |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlowResourceELResolver
public FlowResourceELResolver()
FlowResourceELResolver
public FlowResourceELResolver(RequestContext requestContext)
getCommonPropertyType
public java.lang.Class<?> getCommonPropertyType(javax.el.ELContext context,
java.lang.Object base)
- Specified by:
getCommonPropertyType
in class javax.el.ELResolver
getFeatureDescriptors
public java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context,
java.lang.Object base)
- Specified by:
getFeatureDescriptors
in class javax.el.ELResolver
getType
public java.lang.Class<?> getType(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
- Specified by:
getType
in class javax.el.ELResolver
getValue
public java.lang.Object getValue(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
- Specified by:
getValue
in class javax.el.ELResolver
isReadOnly
public boolean isReadOnly(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
- Specified by:
isReadOnly
in class javax.el.ELResolver
setValue
public void setValue(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
- Specified by:
setValue
in class javax.el.ELResolver
getLocale
protected java.util.Locale getLocale()
getMessageSource
protected org.springframework.context.MessageSource getMessageSource()
getRequestContext
protected RequestContext getRequestContext()