java.lang.Object
jakarta.el.ELContext
org.omnifaces.el.ELContextWrapper
- All Implemented Interfaces:
FacesWrapper<ELContext>
Provides a simple implementation of ELContext that can
be sub-classed by developers wishing to provide specialized behavior
to an existing ELContext instance. The default
implementation of all methods is to call through to the wrapped
ELContext.
Usage: extend this class and provide the instance we are wrapping to the overloaded constructor.
- Author:
- Arjan Tijms
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContext(Class key) booleanvoidputContext(Class key, Object contextObject) voidvoidsetPropertyResolved(boolean resolved) Methods inherited from class jakarta.el.ELContext
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getEvaluationListeners, getImportHandler, getLambdaArgument, isLambdaArgument, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, setPropertyResolved
-
Constructor Details
-
ELContextWrapper
Construct EL context wrapper.- Parameters:
wrapped- The EL context to be wrapped.
-
-
Method Details
-
getWrapped
- Specified by:
getWrappedin interfaceFacesWrapper<ELContext>
-
setPropertyResolved
public void setPropertyResolved(boolean resolved) - Overrides:
setPropertyResolvedin classELContext
-
isPropertyResolved
public boolean isPropertyResolved()- Overrides:
isPropertyResolvedin classELContext
-
putContext
- Overrides:
putContextin classELContext
-
getContext
- Overrides:
getContextin classELContext
-
getELResolver
- Specified by:
getELResolverin classELContext
-
getFunctionMapper
- Specified by:
getFunctionMapperin classELContext
-
getLocale
-
setLocale
-
getVariableMapper
- Specified by:
getVariableMapperin classELContext
-