Class ELContextWrapper
java.lang.Object
jakarta.el.ELContext
org.apache.jasper.el.ELContextWrapper
Simple ELContextWrapper for runtime evaluation of EL w/ dynamic FunctionMappers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContext(Class<?> key) Obtain the context object for the given key.booleanvoidputContext(Class<?> key, Object contextObject) Add an object to this EL context under the given key.voidvoidsetPropertyResolved(boolean resolved)
-
Constructor Details
-
ELContextWrapper
-
-
Method Details
-
getELResolver
- Specified by:
getELResolverin classELContext
-
getFunctionMapper
- Specified by:
getFunctionMapperin classELContext
-
getVariableMapper
- Specified by:
getVariableMapperin classELContext
-
getContext
Description copied from class:jakarta.el.ELContextObtain the context object for the given key.- Overrides:
getContextin classELContext- Parameters:
key- The key of the required context object- Returns:
- The value of the context object associated with the given key
-
getLocale
-
isPropertyResolved
public boolean isPropertyResolved()- Overrides:
isPropertyResolvedin classELContext
-
putContext
Description copied from class:jakarta.el.ELContextAdd an object to this EL context under the given key.- Overrides:
putContextin classELContext- Parameters:
key- The key under which to store the objectcontextObject- The object to add- Throws:
NullPointerException- If the supplied key or context isnull
-
setLocale
-
setPropertyResolved
public void setPropertyResolved(boolean resolved) - Overrides:
setPropertyResolvedin classELContext
-