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
Modifier and Type | Class and Description |
---|---|
static class |
FacesCompositeELResolver.Scope |
Constructor and Description |
---|
FacesCompositeELResolver(FacesCompositeELResolver.Scope scope) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getCommonPropertyType(javax.el.ELContext context,
Object base) |
Iterator<FeatureDescriptor> |
getFeatureDescriptors(javax.el.ELContext context,
Object base) |
Class<?> |
getType(javax.el.ELContext context,
Object base,
Object property) |
Object |
getValue(javax.el.ELContext context,
Object base,
Object property) |
boolean |
isReadOnly(javax.el.ELContext context,
Object base,
Object property) |
void |
setValue(javax.el.ELContext context,
Object base,
Object property,
Object val) |
add
public static final String SCOPE
public FacesCompositeELResolver(FacesCompositeELResolver.Scope scope)
public Class<?> getCommonPropertyType(javax.el.ELContext context, Object base)
getCommonPropertyType
in class javax.el.CompositeELResolver
public Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context, Object base)
getFeatureDescriptors
in class CompositeELResolver
public Class<?> getType(javax.el.ELContext context, Object base, Object property)
getType
in class javax.el.CompositeELResolver
public Object getValue(javax.el.ELContext context, Object base, Object property)
getValue
in class javax.el.CompositeELResolver
public boolean isReadOnly(javax.el.ELContext context, Object base, Object property)
isReadOnly
in class javax.el.CompositeELResolver
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.