org.apache.myfaces.el.unified
Class ResolverBuilderBase

java.lang.Object
  extended by org.apache.myfaces.el.unified.ResolverBuilderBase
Direct Known Subclasses:
ResolverBuilderForFaces, ResolverBuilderForJSP

public class ResolverBuilderBase
extends Object

Version:
$Revision: 1136898 $ $Date: 2011-06-17 09:49:48 -0500 (Fri, 17 Jun 2011) $
Author:
Mathias Broekelmann (latest modification by $Author: lu4242 $)

Field Summary
static String EL_RESOLVER_COMPARATOR
           
 
Constructor Summary
ResolverBuilderBase(RuntimeConfig config)
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EL_RESOLVER_COMPARATOR

@JSFWebConfigParam(since="1.2.10, 2.0.2",
                   desc="The Class of an Comparator implementation.")
public static final String EL_RESOLVER_COMPARATOR
See Also:
Constant Field Values
Constructor Detail

ResolverBuilderBase

public ResolverBuilderBase(RuntimeConfig config)
Method Detail

addFromRuntimeConfig

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). The resolvers where only added if they are not null

Parameters:
elResolver - the composite el resolver to which the resolvers where added

sortELResolvers

protected void sortELResolvers(List<javax.el.ELResolver> resolvers)
Sort the ELResolvers with a custom Comparator provided by the user.

Parameters:
resolvers -
Since:
1.2.10, 2.0.2

createELResolver

protected javax.el.ELResolver createELResolver(VariableResolver resolver)

createELResolver

protected javax.el.ELResolver createELResolver(PropertyResolver resolver)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.