public abstract class AbstractFormActor extends AbstractProvider implements FormActor
CURRENT_LEVEL, XML_TAG
构造器和说明 |
---|
AbstractFormActor() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
createScriptPlaceHolderString() |
java.lang.String |
createStylePlaceHolderString() |
int |
currentAPILevel()
当前接口的API等级,用于判断是否需要升级插件
|
protected java.lang.String |
getFormPath() |
protected JSONObject |
getJSON(FormSessionIDInfor sessionIDInfor,
Repository repo) |
protected java.util.Map<java.lang.String,java.lang.Object> |
initMap4Form(FormSessionIDInfor sessionIDInfo,
Repository repo,
boolean shouldDTD) |
java.lang.String |
mark4Provider()
获取当前provider的标记(可以使用类路径保证唯一)以避免provider的重复加载
|
protected Calculator |
mixCalculate2Form(Form form)
初始化表单的算子
|
protected void |
noCache(javax.servlet.http.HttpServletResponse res)
设置http请求不缓存
|
protected void |
writeJSON(javax.servlet.http.HttpServletResponse res,
FormSessionIDInfor sessionIDInfor,
Repository repo)
给移动端的json
移动端先请求formlet, 得到session与参数界面的config
然后用sessionid去请求正文内容op=fr_form&cmd=load_content
|
equals, hashCode
dealWithFormData, panelType
public int currentAPILevel()
Level
currentAPILevel
在接口中 Level
public java.lang.String mark4Provider()
Provider
mark4Provider
在接口中 Provider
mark4Provider
在类中 AbstractProvider
protected java.lang.String getFormPath()
protected JSONObject getJSON(FormSessionIDInfor sessionIDInfor, Repository repo) throws java.lang.Exception
java.lang.Exception
protected void writeJSON(javax.servlet.http.HttpServletResponse res, FormSessionIDInfor sessionIDInfor, Repository repo) throws java.lang.Exception
java.lang.Exception
protected java.util.Map<java.lang.String,java.lang.Object> initMap4Form(FormSessionIDInfor sessionIDInfo, Repository repo, boolean shouldDTD)
public java.lang.String createScriptPlaceHolderString()
public java.lang.String createStylePlaceHolderString()
protected void noCache(javax.servlet.http.HttpServletResponse res)
res
- HTTP响应protected Calculator mixCalculate2Form(Form form)
form
- 当前表单对象