public class ViewProcessor extends AbstractProcessor
限定符和类型 | 字段和说明 |
---|---|
static String |
DEFAULT_ATTRIBUTE |
protected int |
index |
protected View |
view |
next
构造器和说明 |
---|
ViewProcessor() |
限定符和类型 | 方法和说明 |
---|---|
static View |
evalView(NutConfig config,
ActionInfo ai,
String viewType) |
void |
init(NutConfig config,
ActionInfo ai)
建议覆盖这个方法,以便从NutConfig/ActionInfo获取需要的信息
|
void |
process(ActionContext ac) |
static void |
putRequestAttribute(javax.servlet.http.HttpServletRequest req,
Object re)
保存对象到attribute
|
doNext, evalObj, getNext, renderView, setNext
protected View view
protected int index
public void init(NutConfig config, ActionInfo ai) throws Throwable
AbstractProcessor
init
在接口中 Processor
init
在类中 AbstractProcessor
Throwable
public void process(ActionContext ac) throws Throwable
Throwable
public static void putRequestAttribute(javax.servlet.http.HttpServletRequest req, Object re)
public static View evalView(NutConfig config, ActionInfo ai, String viewType)
Copyright © 2017. All rights reserved.