com.greenpineyu.fel.function
类 JavaMethod
java.lang.Object
com.greenpineyu.fel.function.JavaMethod
- 所有已实现的接口:
- Function
public class JavaMethod
- extends Object
- implements Function
此类用于保存用户注册的java method。
- 作者:
- Administrator
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaMethod
public JavaMethod(String name,
Method method,
Object obj)
call
public Object call(FelNode node,
FelContext context)
- 从接口
Function 复制的描述
- 调用函数
- 指定者:
- 接口
Function 中的 call
- 返回:
getName
public String getName()
- 从接口
Function 复制的描述
- 获取函数的名称
- 指定者:
- 接口
Function 中的 getName
- 返回:
toMethod
public SourceBuilder toMethod(FelNode node,
FelContext context)
- 指定者:
- 接口
Function 中的 toMethod
main
public static void main(String[] args)
throws SecurityException,
NoSuchMethodException
- 抛出:
SecurityException
NoSuchMethodException
Copyright © 2013. All Rights Reserved.