Package jakarta.faces.el
Class VariableResolver
java.lang.Object
jakarta.faces.el.VariableResolver
- Direct Known Subclasses:
ChainAwareVariableResolver
,VariableResolverImpl
@Deprecated public abstract class VariableResolver extends Object
Deprecated.
This has been replaced by
ELResolver
when operating with a null
base
argument.VariableResolver represents a pluggable mechanism for resolving a top-level variable reference at evaluation time.
-
Constructor Summary
Constructors Constructor Description VariableResolver()
Deprecated. -
Method Summary
Modifier and Type Method Description abstract Object
resolveVariable(FacesContext context, String name)
Deprecated.Resolve the specified variable name, and return the corresponding object, if any; otherwise, returnnull
.
-
Constructor Details
-
VariableResolver
public VariableResolver()Deprecated.
-
-
Method Details
-
resolveVariable
public abstract Object resolveVariable(FacesContext context, String name) throws EvaluationExceptionDeprecated.Resolve the specified variable name, and return the corresponding object, if any; otherwise, return
null
.- Parameters:
context
-FacesContext
against which to resolve this variable namename
- Name of the variable to be resolved- Returns:
- the result of the resolution
- Throws:
EvaluationException
- if an exception is thrown while resolving the variable name (the thrown exception must be included as thecause
property of this exception)NullPointerException
- ifcontext
orname
isnull
-