public class FormActorFactory
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static FormActor |
getActor(javax.servlet.http.HttpServletRequest req)
从request中获取Actor
|
static FormActor |
getActor(java.lang.String type)
获取指定类型的actor
|
static void |
registerActor(java.lang.String type,
FormActor actor)
注册预览方式
|
static void |
removeActor(java.lang.String type,
FormActor actor) |
public static void registerActor(java.lang.String type, FormActor actor)
type
- 预览方式actor
- 预览actorpublic static FormActor getActor(java.lang.String type)
type
- 预览类型public static void removeActor(java.lang.String type, FormActor actor)
public static FormActor getActor(javax.servlet.http.HttpServletRequest req)
req
- http请求