Package org.apache.myfaces.el
Class ELResolverBuilder
java.lang.Object
org.apache.myfaces.el.ELResolverBuilder
- Direct Known Subclasses:
DefaultELResolverBuilder
The ELResolverBuilder is responsible to build the el resolver which is used by the application through
Application.getELResolver()
according to 1.2 spec
section 5.6.2- Version:
- $Revision$ $Date$
- Author:
- Mathias Broekelmann (latest modification by $Author$)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addFromRuntimeConfig
(List<jakarta.el.ELResolver> resolvers) add the el resolvers from the faces config, the el resolver wrapper for variable resolver, the el resolver wrapper for the property resolver and the el resolvers added byApplication.addELResolver(ELResolver)
.void
build
(jakarta.el.CompositeELResolver elResolver) void
build
(FacesContext facesContext, jakarta.el.CompositeELResolver elResolver) protected Iterable<jakarta.el.ELResolver>
filterELResolvers
(List<jakarta.el.ELResolver> resolvers) Filters the ELResolvers with a custom Predicate provided by the user.protected boolean
isReplaceImplicitObjectResolverWithCDIResolver
(FacesContext facesContext) protected void
sortELResolvers
(List<jakarta.el.ELResolver> resolvers) Sort the ELResolvers with a custom Comparator provided by the user.protected List<jakarta.el.ELResolver>
wrapELResolvers
(List<jakarta.el.ELResolver> resolvers)
-
Field Details
-
runtimeConfig
-
myfacesConfig
-
-
Constructor Details
-
ELResolverBuilder
-
-
Method Details
-
addFromRuntimeConfig
add the el resolvers from the faces config, the el resolver wrapper for variable resolver, the el resolver wrapper for the property resolver and the el resolvers added byApplication.addELResolver(ELResolver)
. The resolvers where only added if they are not null- Parameters:
resolvers
-
-
wrapELResolvers
-
sortELResolvers
Sort the ELResolvers with a custom Comparator provided by the user.- Parameters:
resolvers
-- Since:
- 1.2.10, 2.0.2
-
filterELResolvers
Filters the ELResolvers with a custom Predicate provided by the user.- Parameters:
resolvers
- list of ELResolvers- Returns:
- Iterable instance of Iterable containing filtered ELResolvers
-
isReplaceImplicitObjectResolverWithCDIResolver
-
build
public void build(jakarta.el.CompositeELResolver elResolver) -
build
-