|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.faces.el Class VariableResolver
java.lang.Object javax.faces.el.VariableResolver
Deprecated. This has been replaced by
ELResolver
when operating with a null
base
argument.
VariableResolver 代表一种可插入的机制,用于在求值时解析顶级变量引用。
deprecated |
使用 null base 参数操作时,由 javax.el.ELResolver 取代。 |
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 |
---|
public
VariableResolver()
英文文档:
VariableResolver
public VariableResolver()
- Deprecated.
Method Detail |
---|
abstract public Object
resolveVariable(FacesContext context, String name) throws EvaluationException
解析指定的变量名称,并返回相应的对象(如果有);否则返回 null
。
context |
据以解析此变量名称的 FacesContext |
name | 要解析的变量名称 |
Throws | EvaluationException:
如果解析变量名称时抛出异常(抛出的异常必须作为此异常的 cause 属性包含在内) |
Throws | NullPointerException:
如果 context 或 name 为 null |
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 namename
- 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 thecause
property of this exception)NullPointerException
- ifcontext
orname
isnull
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!