ELResolver
when operating with a null base argument.public abstract class VariableResolver
extends java.lang.Object
VariableResolver represents a pluggable mechanism for resolving a top-level variable reference at evaluation time.
| Constructor and Description |
|---|
VariableResolver()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
resolveVariable(FacesContext context,
java.lang.String name)
Deprecated.
Resolve the specified variable name, and return the corresponding
object, if any; otherwise, return
null. |
public abstract java.lang.Object resolveVariable(FacesContext context, java.lang.String name) throws EvaluationException
Resolve the specified variable name, and return the corresponding
object, if any; otherwise, return null.
context - FacesContext against which to resolve
this variable namename - Name of the variable to be resolvedEvaluationException - if an exception is thrown while resolving
the variable name (the thrown exception must be included as the
cause property of this exception)java.lang.NullPointerException - if context
or name is null