public class ResolverBuilderBase extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EL_RESOLVER_COMPARATOR
Define a custom comparator class used to sort the ELResolvers.
|
Constructor and Description |
---|
ResolverBuilderBase(RuntimeConfig config) |
Modifier and Type | Method and Description |
---|---|
protected void |
addFromRuntimeConfig(List<javax.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 by
Application.addELResolver(ELResolver) . |
protected javax.el.ELResolver |
createELResolver(PropertyResolver resolver) |
protected javax.el.ELResolver |
createELResolver(VariableResolver resolver) |
protected void |
sortELResolvers(List<javax.el.ELResolver> resolvers)
Sort the ELResolvers with a custom Comparator provided by the user.
|
@JSFWebConfigParam(since="1.2.10, 2.0.2", group="EL", desc="The Class of an Comparator<ELResolver> implementation.") public static final String EL_RESOLVER_COMPARATOR
This is useful when it is necessary to put an ELResolver on top of other resolvers. Note set this param override the default ordering described by JSF spec section 5.
public ResolverBuilderBase(RuntimeConfig config)
protected void addFromRuntimeConfig(List<javax.el.ELResolver> resolvers)
Application.addELResolver(ELResolver)
.
The resolvers where only added if they are not nullresolvers
- protected void sortELResolvers(List<javax.el.ELResolver> resolvers)
resolvers
- protected javax.el.ELResolver createELResolver(VariableResolver resolver)
protected javax.el.ELResolver createELResolver(PropertyResolver resolver)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.