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, setNextprotected View view
protected int index
public void init(NutConfig config, ActionInfo ai) throws Throwable
AbstractProcessorinit 在接口中 Processorinit 在类中 AbstractProcessorThrowablepublic void process(ActionContext ac) throws Throwable
Throwablepublic 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.