|
PageMixer API - 3.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jp.ne.dti.lares.foozy.pagemixer.struts.FormKey
Key to identify "ActionForm" of Struts.
You must concretize below method(s) to have this function.
| Constructor Summary | |
protected |
FormKey(java.lang.String name)
Construct key named as specified name. |
| Method Summary | |
boolean |
equals(java.lang.Object object)
|
org.apache.struts.action.ActionForm |
get(ConsumerContext context)
Utility to get " ActionForm" by THIS. |
protected abstract java.lang.Object |
getValue(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
boolean requestScope)
|
java.lang.Object |
getValue(javax.servlet.http.HttpServlet servlet,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Get " ActionForm" named as specified. |
int |
hashCode()
|
static boolean |
isRequestScope(org.apache.struts.config.ActionConfig config)
Examine whether specified action form is in request scope or not. |
void |
setValue(javax.servlet.http.HttpServlet servlet,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object value)
THIS SHOULD NOT BE SUPPORTED. |
java.lang.String |
toString()
|
void |
unsetValue(javax.servlet.http.HttpServlet servlet,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
THIS SHOULD NOT BE SUPPORTED. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected FormKey(java.lang.String name)
name - of "ActionForm" to access| Method Detail |
public final org.apache.struts.action.ActionForm get(ConsumerContext context)
ActionForm" by THIS.
This is equivalent to
context.getValue(this) invocation
with narrowing to "ActionForm".
context - to look "ActionForm" up intoActionForm" identified by THIS.public static boolean isRequestScope(org.apache.struts.config.ActionConfig config)
This recognizes that action form is in request scope,
if specified ActionConfig is (1)'null' or
(2)in request scope(= getScope() returns "request").
protected abstract java.lang.Object getValue(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
boolean requestScope)
public java.lang.Object getValue(javax.servlet.http.HttpServlet servlet,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
ActionForm" named as specified.getValue in interface ServletConsumerContext.KeyCommandjp.ne.dti.lares.foozy.pagemixer.servlet.ServletConsumerContext.KeyCommandservlet - on which consumer context depends.context - on which consumer context depends.request - on which consumer context depends.response - on which consumer context depends.
public void setValue(javax.servlet.http.HttpServlet servlet,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object value)
Please use official way of Struts
to store "ActionForm".
setValue in interface ServletConsumerContext.KeyCommandjp.ne.dti.lares.foozy.pagemixer.servlet.ServletConsumerContext.KeyCommandservlet - on which consumer context depends.context - on which consumer context depends.request - on which consumer context depends.response - on which consumer context depends.value - value to be set
public void unsetValue(javax.servlet.http.HttpServlet servlet,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Please use official way of Struts
to remove "ActionForm".
unsetValue in interface ServletConsumerContext.KeyCommandjp.ne.dti.lares.foozy.pagemixer.servlet.ServletConsumerContext.KeyCommandservlet - on which consumer context depends.context - on which consumer context depends.request - on which consumer context depends.response - on which consumer context depends.public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
PageMixer API - 3.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||