public abstract class AbstractProcessor extends Object implements Processor
构造器和说明 |
---|
AbstractProcessor() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
doNext(ActionContext ac)
继续执行下一个Processor
一般情形下都不应该覆盖这个方法
|
protected static <T> T |
evalObj(NutConfig config,
ObjectInfo<T> info) |
Processor |
getNext() |
void |
init(NutConfig config,
ActionInfo ai)
建议覆盖这个方法,以便从NutConfig/ActionInfo获取需要的信息
|
protected void |
renderView(ActionContext ac) |
void |
setNext(Processor next)
设置下一个Processor
一般情形下都不应该覆盖这个方法
|
protected Processor next
public void init(NutConfig config, ActionInfo ai) throws Throwable
public void setNext(Processor next)
protected void doNext(ActionContext ac) throws Throwable
ac
- 执行方法的上下文Throwable
protected static <T> T evalObj(NutConfig config, ObjectInfo<T> info)
protected void renderView(ActionContext ac) throws Throwable
Throwable
Copyright © 2017. All rights reserved.