org.springframework.webflow.expression.el
Class ScopeSearchingELResolver
java.lang.Object
javax.el.ELResolver
org.springframework.webflow.expression.el.ScopeSearchingELResolver
public class ScopeSearchingELResolver
- extends javax.el.ELResolver
Custom EL resolver that searches the current request context for variables to resolve. The search algorithm looks in
request scope first, then flash scope, then view scope, then flow scope, then conversation scope.
Suitable for use along side other variable resolvers to support EL binding expressions like "#{bean.property}" where
"bean" could be a property in any supported scope.
- Author:
- Jeremy Grelle
Fields inherited from class javax.el.ELResolver |
RESOLVABLE_AT_DESIGN_TIME, TYPE |
Method Summary |
Class |
getCommonPropertyType(javax.el.ELContext elContext,
Object base)
|
Iterator |
getFeatureDescriptors(javax.el.ELContext elContext,
Object base)
|
Class |
getType(javax.el.ELContext elContext,
Object base,
Object property)
|
Object |
getValue(javax.el.ELContext elContext,
Object base,
Object property)
|
boolean |
isReadOnly(javax.el.ELContext elContext,
Object base,
Object property)
|
void |
setValue(javax.el.ELContext elContext,
Object base,
Object property,
Object value)
|
ScopeSearchingELResolver
public ScopeSearchingELResolver()
ScopeSearchingELResolver
public ScopeSearchingELResolver(RequestContext requestContext)
getCommonPropertyType
public Class getCommonPropertyType(javax.el.ELContext elContext,
Object base)
- Specified by:
getCommonPropertyType
in class javax.el.ELResolver
getFeatureDescriptors
public Iterator getFeatureDescriptors(javax.el.ELContext elContext,
Object base)
- Specified by:
getFeatureDescriptors
in class javax.el.ELResolver
getType
public Class getType(javax.el.ELContext elContext,
Object base,
Object property)
- Specified by:
getType
in class javax.el.ELResolver
getValue
public Object getValue(javax.el.ELContext elContext,
Object base,
Object property)
- Specified by:
getValue
in class javax.el.ELResolver
isReadOnly
public boolean isReadOnly(javax.el.ELContext elContext,
Object base,
Object property)
- Specified by:
isReadOnly
in class javax.el.ELResolver
setValue
public void setValue(javax.el.ELContext elContext,
Object base,
Object property,
Object value)
- Specified by:
setValue
in class javax.el.ELResolver