org.apache.myfaces.el.unified.resolver
Class FacesCompositeELResolver
java.lang.Object
javax.el.ELResolver
javax.el.CompositeELResolver
org.apache.myfaces.el.CompositeELResolver
org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver
public final class FacesCompositeELResolver
- extends CompositeELResolver
This composite el resolver will be used at the top level resolver for faces (Application.getELResolver()
)
and jsp (the one we add with JspApplicationContext.addELResolver(javax.el.ELResolver)
. It keeps track of its
scope to let the variable resolver VariableResolverImpl
know in which scope it is executed. This is
necessarry to call either the faces or the jsp resolver head.
This implementation does nothing if there is no actual faces context. This is necessarry since we registered our
resolvers into the jsp engine. Therefore we have to make sure that jsp only pages where no faces context is available
are still working
- Version:
- $Revision: 1136612 $ $Date: 2011-06-16 14:13:30 -0500 (Thu, 16 Jun 2011) $
- Author:
- Mathias Broekelmann (latest modification by $Author: lu4242 $)
Field Summary |
static java.lang.String |
SCOPE
|
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)
|
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 val)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCOPE
public static final java.lang.String SCOPE
- See Also:
- Constant Field Values
FacesCompositeELResolver
public FacesCompositeELResolver(FacesCompositeELResolver.Scope scope)
getCommonPropertyType
public java.lang.Class<?> getCommonPropertyType(javax.el.ELContext context,
java.lang.Object base)
- Overrides:
getCommonPropertyType
in class javax.el.CompositeELResolver
getFeatureDescriptors
public java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context,
java.lang.Object base)
- Overrides:
getFeatureDescriptors
in class CompositeELResolver
getType
public java.lang.Class<?> getType(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
- Overrides:
getType
in class javax.el.CompositeELResolver
getValue
public java.lang.Object getValue(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
- Overrides:
getValue
in class javax.el.CompositeELResolver
isReadOnly
public boolean isReadOnly(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
- Overrides:
isReadOnly
in class javax.el.CompositeELResolver
setValue
public void setValue(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object val)
- Overrides:
setValue
in class javax.el.CompositeELResolver
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.