| Modifier and Type | Field and Description |
|---|---|
| private final ELContext | |
| private final FunctionMapper | |
| private final VariableMapper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addEvaluationListener(EvaluationListener
The listener to be added. listener)Overrides javax. |
| public Object | convertToType(Object
The object to convert. obj, Class<?> The target type for the conversion. targetType)Overrides javax. |
| public void | enterLambdaScope(Map<String, Object>
The Lambda arguments map args)Overrides javax. |
| public void | exitLambdaScope()
Overrides javax. |
| public Object | getContext(Class<T>
The unique identifier that was used to associate the
context object with this key)ELContext.Overrides javax. |
| public ELContext | |
| public ELResolver | getELResolver()
Implements abstract javax. ELResolver associated with this context.
|
| public List | getEvaluationListeners()
Overrides javax. |
| public FunctionMapper | getFunctionMapper()
Implements abstract javax. FunctionMapper associated with this
ELContext.
|
| public ImportHandler | getImportHandler()
Overrides javax. ImportHandler associated with this
ELContext.
|
| public Object | getLambdaArgument(String
The formal parameter for the Lambda argument arg)Overrides javax. |
| public VariableMapper | getVariableMapper()
Implements abstract javax. VariableMapper associated with this
ELContext.
|
| public boolean | isLambdaArgument(String
A possible Lambda formal parameter name arg)Overrides javax. |
| public boolean | isPropertyResolved()
Overrides javax. ELResolver has successfully resolved a
given (base, property) pair.
|
| public void | notifyAfterEvaluation(String
The EL expression string that has been evaluated expr)Overrides javax. |
| public void | notifyBeforeEvaluation(String
The EL expression string to be evaluated expr)Overrides javax. |
| public void | notifyPropertyResolved(Object
The base object base, Object The property Object property)Overrides javax. |
| public void | putContext(Class<T>
The key used by an @{link ELResolver} to identify this
context object. key, Object The context object to add to the collection. contextObject)Overrides javax. ELContext.
|
| public void | setPropertyResolved(boolean
true if the property has been resolved, or false if
not. resolved)Overrides javax. ELResolver has successfully
resolved a given (base, property) pair.
|
| public void | setPropertyResolved(Object
The base object base, Object The property object property)Overrides javax. ELResolver has successfully
resolved a given (base, property) pair and to notify the
EvaluationListeners.
|
| elContext | back to summary |
|---|---|
| private final ELContext elContext | |
| fnMapper | back to summary |
|---|---|
| private final FunctionMapper fnMapper | |
| varMapper | back to summary |
|---|---|
| private final VariableMapper varMapper | |
| EvaluationContext | back to summary |
|---|---|
| public EvaluationContext(ELContext elContext, FunctionMapper fnMapper, VariableMapper varMapper) | |
| addEvaluationListener | back to summary |
|---|---|
| public void addEvaluationListener(EvaluationListener listener) Overrides javax. Doc from javax. Registers an evaluation listener to the ELContext.
| |
| convertToType | back to summary |
|---|---|
| public Object convertToType(Object obj, Class<?> targetType) Overrides javax. Doc from javax. Converts an object to a specific type. If a custom converter in the
An | |
| enterLambdaScope | back to summary |
|---|---|
| public void enterLambdaScope(Map<String, Object> args) Overrides javax. Doc from javax. Installs a Lambda argument map, in preparation for the evaluation of a Lambda expression. The arguments in the map will be in scope during the evaluation of the Lambda expression. | |
| exitLambdaScope | back to summary |
|---|---|
| public void exitLambdaScope() Overrides javax. Doc from javax. Exits the Lambda expression evaluation. The Lambda argument map that was previously installed is removed.
| |
| getContext | back to summary |
|---|---|
| public Object getContext(Class<T> key) Overrides javax. Doc from javax. Returns the context object associated with the given key. The By convention, the object returned will be of the type specified by
the | |
| getELContext | back to summary |
|---|---|
| public ELContext getELContext() | |
| getELResolver | back to summary |
|---|---|
| public ELResolver getELResolver() Implements abstract javax. Doc from javax. Retrieves the The Once an
| |
| getEvaluationListeners | back to summary |
|---|---|
| public List Overrides javax. Doc from javax. Returns the list of registered evaluation listeners.
| |
| getFunctionMapper | back to summary |
|---|---|
| public FunctionMapper getFunctionMapper() Implements abstract javax. Doc from javax. Retrieves the
| |
| getImportHandler | back to summary |
|---|---|
| public ImportHandler getImportHandler() Overrides javax. Doc from javax. Retrieves the
| |
| getLambdaArgument | back to summary |
|---|---|
| public Object getLambdaArgument(String arg) Overrides javax. Doc from javax. Retrieves the Lambda argument associated with a formal parameter. If the Lambda expression is nested within other Lambda expressions, the arguments for the current Lambda expression is first searched, and if not found, the arguments for the immediate nesting Lambda expression then searched, and so on. | |
| getVariableMapper | back to summary |
|---|---|
| public VariableMapper getVariableMapper() Implements abstract javax. Doc from javax. Retrieves the
| |
| isLambdaArgument | back to summary |
|---|---|
| public boolean isLambdaArgument(String arg) Overrides javax. Doc from javax. Inquires if the name is a LambdaArgument | |
| isPropertyResolved | back to summary |
|---|---|
| public boolean isPropertyResolved() Overrides javax. Doc from javax. Returns whether an The
| |
| notifyAfterEvaluation | back to summary |
|---|---|
| public void notifyAfterEvaluation(String expr) Overrides javax. Doc from javax. Notifies the listeners after an EL expression is evaluated | |
| notifyBeforeEvaluation | back to summary |
|---|---|
| public void notifyBeforeEvaluation(String expr) Overrides javax. Doc from javax. Notifies the listeners before an EL expression is evaluated | |
| notifyPropertyResolved | back to summary |
|---|---|
| public void notifyPropertyResolved(Object base, Object property) Overrides javax. Doc from javax. Notifies the listeners when the (base, property) pair is resolved | |
| putContext | back to summary |
|---|---|
| public void putContext(Class<T> key, Object contextObject) Overrides javax. Doc from javax. Associates a context object with this The By convention, the | |
| setPropertyResolved | back to summary |
|---|---|
| public void setPropertyResolved(boolean resolved) Overrides javax. Doc from javax. Called to indicate that a The
| |
| setPropertyResolved | back to summary |
|---|---|
| public void setPropertyResolved(Object base, Object property) Overrides javax. Doc from javax. Called to indicate that a The | |