|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
javax.faces.el Class MethodBinding
java.lang.Objectjavax.faces.el.MethodBinding
Deprecated. This has been replaced by
MethodExpression.
public abstract class MethodBinding
- extends Object
MethodBinding is an object that can be used
to call an arbitrary public method, on an instance that is acquired by
evaluatng the leading portion of a method binding expression via a
ValueBinding. An immutable MethodBinding for a particular
method binding expression can be acquired by calling the
createMethodBinding() method of the
Application instance for this web
application.
| 构造器摘要 | |
|---|---|
MethodBinding()
Deprecated. |
|
| 方法摘要 | |
|---|---|
String |
getExpressionString()
Deprecated. Return the (possibly null) expression String,
with leading and trailing delimiters, from which this
MethodBinding was built. |
abstract Class |
getType(FacesContext context)
Deprecated. Return the Java class representing the return type from the method identified by this method binding expression. |
abstract Object |
invoke(FacesContext context,
Object[] params)
Deprecated. Return the return value (if any) resulting from a call to the method identified by this method binding expression, passing it the specified parameters, relative to the specified FacesContext. |
| 类方法继承 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造器详细信息 |
|---|
MethodBinding
public MethodBinding()
- Deprecated.
| 方法详细信息 |
|---|
invoke
public abstract Object invoke(FacesContext context, Object[] params) throws EvaluationException, MethodNotFoundException
- Deprecated.
Return the return value (if any) resulting from a call to the method identified by this method binding expression, passing it the specified parameters, relative to the specified
FacesContext.- 参数:
context-FacesContextfor the current requestparams- Array of parameters to be passed to the called method, ornullfor no parameters- 抛出异常:
EvaluationException- if an exception is thrown by the called method (the thrown exception must be included as thecauseproperty of this exception)MethodNotFoundException- if no suitable method can be foundNullPointerException- ifcontextisnull
getType
public abstract Class getType(FacesContext context) throws MethodNotFoundException
- Deprecated.
Return the Java class representing the return type from the method identified by this method binding expression.
- 参数:
context-FacesContextfor the current request- 抛出异常:
MethodNotFoundException- if no suitable method can be foundNullPointerException- ifcontextisnull
getExpressionString
public String getExpressionString()
- Deprecated.
Return the (possibly
null) expression String, with leading and trailing delimiters, from which thisMethodBindingwas built. The default implementation returnsnull.
|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.
javax.faces.el.MethodBinding