Package jakarta.el
Class StandardELContext
- java.lang.Object
-
- jakarta.el.ELContext
-
- jakarta.el.StandardELContext
-
public class StandardELContext extends ELContext
- Since:
- EL 3.0
-
-
Constructor Summary
Constructors Constructor Description StandardELContext(ELContext context)StandardELContext(ExpressionFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddELResolver(ELResolver resolver)java.lang.ObjectgetContext(java.lang.Class<?> key)Obtain the context object for the given key.ELResolvergetELResolver()FunctionMappergetFunctionMapper()VariableMappergetVariableMapper()voidputContext(java.lang.Class<?> key, java.lang.Object contextObject)Add an object to this EL context under the given key.-
Methods inherited from class jakarta.el.ELContext
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getEvaluationListeners, getImportHandler, getLambdaArgument, getLocale, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, setLocale, setPropertyResolved, setPropertyResolved
-
-
-
-
Constructor Detail
-
StandardELContext
public StandardELContext(ExpressionFactory factory)
-
StandardELContext
public StandardELContext(ELContext context)
-
-
Method Detail
-
putContext
public void putContext(java.lang.Class<?> key, java.lang.Object contextObject)Description copied from class: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
-
getContext
public java.lang.Object getContext(java.lang.Class<?> key)
Description copied from class: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
-
getELResolver
public ELResolver getELResolver()
- Specified by:
getELResolverin classELContext
-
addELResolver
public void addELResolver(ELResolver resolver)
-
getFunctionMapper
public FunctionMapper getFunctionMapper()
- Specified by:
getFunctionMapperin classELContext
-
getVariableMapper
public VariableMapper getVariableMapper()
- Specified by:
getVariableMapperin classELContext
-
-