Top Description Constructors Methods
javax.faces.el

public abstract Class VariableResolver

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.faces.el.ChainAwareVariableResolver, com.sun.faces.el.VariableResolverImpl
Imports
javax.faces.context.FacesContext

Deprecated

This has been replaced by javax.el.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

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract Object

Returns:

the result of the resolution
resolveVariable
(FacesContext
FacesContext against which to resolve this variable name
context
,
String
Name of the variable to be resolved
name
)

Resolve the specified variable name, and return the corresponding object, if any; otherwise, return null.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

VariableResolverback to summary
public VariableResolver()

Method Detail

resolveVariableback to summary
public abstract Object resolveVariable(FacesContext context, String name) throws EvaluationException

Resolve the specified variable name, and return the corresponding object, if any; otherwise, return null.

Parameters
context:FacesContext

FacesContext against which to resolve this variable name

name:String

Name of the variable to be resolved

Returns:Object

the result of the resolution

Exceptions
EvaluationException:
if an exception is thrown while resolving the variable name (the thrown exception must be included as the cause property of this exception)
NullPointerException:
if context or name is null