站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

VariableResolver (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

javax.faces.el
Class VariableResolver

java.lang.Object
  extended by javax.faces.el.VariableResolver

Deprecated. This has been replaced by ELResolver when operating with a null base argument.

public abstract class VariableResolver
extends Object

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


Constructor Summary
VariableResolver()
          Deprecated.  
 
Method Summary
abstract  Object resolveVariable(FacesContext context, String name)
          Deprecated. 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()
Deprecated. 
Method Detail

resolveVariable

public abstract Object resolveVariable(FacesContext context,
                                       String name)
                                throws EvaluationException
Deprecated. 

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)
NullPointerException - if context or name is null

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.