|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.el Class MethodInfo
java.lang.Objectjavax.el.MethodInfo
public class MethodInfo
- extends Object
包含有关
MethodExpression 求值方法的信息。
| since | JSP 2.1 |
Holds information about a method that a MethodExpression
evaluated to.
- Since:
- JSP 2.1
| Constructor Summary | |
|---|---|
MethodInfo(String name,
Class<?> returnType,
Class<?>[] paramTypes)
Creates a new instance of MethodInfo with the given
information. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
英文文档:
MethodInfo
public MethodInfo(String name, Class<?> returnType, Class<?>[] paramTypes)
- Creates a new instance of
MethodInfowith the given information.- Parameters:
name- The name of the methodreturnType- The return type of the methodparamTypes- The types of each of the method's parameters
| Method Detail |
|---|
public String
getName()
返回方法名称
| return | 方法名 |
getName
public String getName()
- Returns the name of the method
- Returns:
- the name of the method
public Class<T>
getReturnType()
返回方法的返回类型
| return | 方法的返回类型 |
getReturnType
public Class<?> getReturnType()
- Returns the return type of the method
- Returns:
- the return type of the method
public Class<T>[]
getParamTypes()
返回方法的参数类型
| return | 方法的参数类型 |
getParamTypes
public Class<?>[] getParamTypes()
- Returns the parameter types of the method
- Returns:
- the parameter types of the method
|
|
|||||||||
| 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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!
javax.el.MethodInfo