|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
javax.el Class MethodInfo
java.lang.Objectjavax.el.MethodInfo
public class MethodInfo
- extends Object
Holds information about a method that a MethodExpression
evaluated to.
- 从以下版本开始:
- JSP 2.1
| 构造器摘要 | |
|---|---|
MethodInfo(String name,
Class<?> returnType,
Class<?>[] paramTypes)
Creates a new instance of MethodInfo with the given
information. |
|
| 方法摘要 | |
|---|---|
String |
getName()
Returns the name of the method |
Class<?>[] |
getParamTypes()
Returns the parameter types of the method |
Class<?> |
getReturnType()
Returns the return type of the method |
| 类方法继承 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造器详细信息 |
|---|
MethodInfo
public MethodInfo(String name, Class<?> returnType, Class<?>[] paramTypes)
- Creates a new instance of
MethodInfowith the given information.- 参数:
name- The name of the methodreturnType- The return type of the methodparamTypes- The types of each of the method's parameters
| 方法详细信息 |
|---|
getName
public String getName()
- Returns the name of the method
- 返回:
- the name of the method
getReturnType
public Class<?> getReturnType()
- Returns the return type of the method
- 返回:
- the return type of the method
getParamTypes
public Class<?>[] getParamTypes()
- Returns the parameter types of the method
- 返回:
- the parameter types of the method
|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.
javax.el.MethodInfo