Class ELContextDecorator
- java.lang.Object
-
- javax.el.ELContext
-
- org.apache.myfaces.core.api.shared.ELContextDecorator
-
public class ELContextDecorator extends javax.el.ELContext
This ELContext is used to hook into the EL handling, by decorating the ELResolver chain with a custom ELResolver.
-
-
Constructor Summary
Constructors Constructor Description ELContextDecorator(javax.el.ELContext elContext, javax.el.ELResolver interceptingResolver)
Only used by ValueExpressionResolver.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getContext(Class key)
javax.el.ELResolver
getELResolver()
This is the important one, it returns the passed ELResolver.javax.el.FunctionMapper
getFunctionMapper()
Locale
getLocale()
javax.el.VariableMapper
getVariableMapper()
boolean
isPropertyResolved()
void
putContext(Class key, Object contextObject)
void
setLocale(Locale locale)
void
setPropertyResolved(boolean resolved)
-
-
-
Constructor Detail
-
ELContextDecorator
public ELContextDecorator(javax.el.ELContext elContext, javax.el.ELResolver interceptingResolver)
Only used by ValueExpressionResolver.- Parameters:
elContext
- The standard ELContext. All method calls, except getELResolver, are delegated to it.interceptingResolver
- The ELResolver to be returned by getELResolver.
-
-
Method Detail
-
getELResolver
public javax.el.ELResolver getELResolver()
This is the important one, it returns the passed ELResolver.- Specified by:
getELResolver
in classjavax.el.ELContext
- Returns:
- The ELResolver passed into the constructor.
-
getFunctionMapper
public javax.el.FunctionMapper getFunctionMapper()
- Specified by:
getFunctionMapper
in classjavax.el.ELContext
-
getVariableMapper
public javax.el.VariableMapper getVariableMapper()
- Specified by:
getVariableMapper
in classjavax.el.ELContext
-
setPropertyResolved
public void setPropertyResolved(boolean resolved)
- Overrides:
setPropertyResolved
in classjavax.el.ELContext
-
isPropertyResolved
public boolean isPropertyResolved()
- Overrides:
isPropertyResolved
in classjavax.el.ELContext
-
putContext
public void putContext(Class key, Object contextObject)
- Overrides:
putContext
in classjavax.el.ELContext
-
getLocale
public Locale getLocale()
- Overrides:
getLocale
in classjavax.el.ELContext
-
setLocale
public void setLocale(Locale locale)
- Overrides:
setLocale
in classjavax.el.ELContext
-
-