VariableResolver (Java EE 5 SDK)

Java

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.


构造器摘要
VariableResolver()
          Deprecated.  
 
方法摘要
abstract  Object resolveVariable(FacesContext context, String name)
          Deprecated. Resolve the specified variable name, and return the corresponding object, if any; otherwise, return null.
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造器详细信息

VariableResolver

public VariableResolver()
Deprecated. 
方法详细信息

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.

参数:
context - FacesContext against which to resolve this variable name
name - Name of the variable to be resolved
抛出异常:
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

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.