javax.faces.el
Class VariableResolver

java.lang.Object
  |
  +--javax.faces.el.VariableResolver

public abstract class VariableResolver
extends java.lang.Object

VariableResolver represents a pluggable mechanism for resolving a top-level variable reference at evaluation time.


Constructor Summary
VariableResolver()
           
 
Method Summary
abstract  java.lang.Object resolveVariable(javax.faces.context.FacesContext context, java.lang.String name)
          Resolve the specified variable name, and return the corresponding object, if any; otherwise, return null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableResolver

public VariableResolver()
Method Detail

resolveVariable

public abstract java.lang.Object resolveVariable(javax.faces.context.FacesContext context,
                                                 java.lang.String name)
                                          throws EvaluationException

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

Parameters:
context - FacesContext against which to resolve this variable name
name - Name of the variable to be resolved
Throws:
EvaluationException - 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


Copyright ? 2002-2004 Sun Microsystems, Inc. All Rights Reserved.