com.greenpineyu.fel.function
类 TolerantFunction

java.lang.Object
  继承者 com.greenpineyu.fel.function.TolerantFunction
所有已实现的接口:
Function

public abstract class TolerantFunction
extends Object
implements Function

有容错功能的函数

作者:
yqs

字段摘要
static String ERROR_ARGS
           
 
构造方法摘要
TolerantFunction()
           
 
方法摘要
 Object call(FelNode node, FelContext context)
          调用函数
protected abstract  Object callFun(FelNode node, FelContext context)
           
static Object eval(FelContext context, Object obj)
           
 String toJavaSrc(FelNode node, FelContext context)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 com.greenpineyu.fel.function.Function 继承的方法
getName, toMethod
 

字段详细信息

ERROR_ARGS

public static final String ERROR_ARGS
另请参见:
常量字段值
构造方法详细信息

TolerantFunction

public TolerantFunction()
方法详细信息

call

public Object call(FelNode node,
                   FelContext context)
从接口 Function 复制的描述
调用函数

指定者:
接口 Function 中的 call
返回:

eval

public static Object eval(FelContext context,
                          Object obj)

callFun

protected abstract Object callFun(FelNode node,
                                  FelContext context)
参数:
node -
context -
返回:

toJavaSrc

public String toJavaSrc(FelNode node,
                        FelContext context)


Copyright © 2013. All Rights Reserved.