|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.oroad.stxx.action.StxxHelper
Provides static methods for interacting with the servlet objects to support stxx functionality.
| Constructor Summary | |
StxxHelper()
|
|
| Method Summary | |
static void |
attachErrors(javax.servlet.http.HttpServletRequest request,
boolean state)
Set this value to false if you do not want the errors object saved to XML and attached to your XML output from this Action. |
static void |
attachForm(javax.servlet.http.HttpServletRequest request,
boolean state)
Set this value to false if you do not want the form object saved to XML and attached to your XML output from this Action. |
static void |
attachMessages(javax.servlet.http.HttpServletRequest request,
boolean state)
Set this value to false if you do not want the messages object saved to XML and attached to your XML output from this Action. |
static void |
attachRequestAttributes(javax.servlet.http.HttpServletRequest request,
boolean state)
Set this value to false if you do not want the request attributes saved to XML and attached to your XML output from this Action. |
static void |
attachRequestParameters(javax.servlet.http.HttpServletRequest request,
boolean state)
Set this value to false if you do not want the request parameters saved to XML and attached to your XML output from this Action. |
static void |
attachResources(javax.servlet.http.HttpServletRequest request,
boolean state)
Set this value to false if you do not want the application resources object saved to XML and attached to your XML output from this Action. |
static void |
saveAnyDocument(javax.servlet.http.HttpServletRequest request,
java.lang.Object document)
Save the specified document into a list of xml objects |
static void |
saveDocument(javax.servlet.http.HttpServletRequest request,
org.jdom.Document document)
Saves a JDOM document |
static void |
saveDocument(javax.servlet.http.HttpServletRequest request,
org.w3c.dom.Document document)
Saves a w3c DOM document |
static void |
saveToken(javax.servlet.http.HttpServletRequest request)
Deprecated. Since 1.3, the token is now added to the form xml instead |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StxxHelper()
| Method Detail |
public static void saveDocument(javax.servlet.http.HttpServletRequest request,
org.jdom.Document document)
request - The http requestdocument - The JDOM document
public static void saveDocument(javax.servlet.http.HttpServletRequest request,
org.w3c.dom.Document document)
request - The http requestdocument - The DOM document
public static void saveAnyDocument(javax.servlet.http.HttpServletRequest request,
java.lang.Object document)
request - The servlet request we are processingdocument - The Action-created Document
public static void attachErrors(javax.servlet.http.HttpServletRequest request,
boolean state)
request - The HttpServletRequest objectstate - If true, attach error XML
public static void attachMessages(javax.servlet.http.HttpServletRequest request,
boolean state)
request - The HttpServletRequest objectstate - If true, attach message XML
public static void attachForm(javax.servlet.http.HttpServletRequest request,
boolean state)
request - The HttpServletRequest objectstate - If true, attach form XML
public static void attachResources(javax.servlet.http.HttpServletRequest request,
boolean state)
request - The HttpServletRequest objectstate - If true, attach Resources as XML
public static void attachRequestParameters(javax.servlet.http.HttpServletRequest request,
boolean state)
request - The HttpServletRequest objectstate - If True, attach request XML
public static void attachRequestAttributes(javax.servlet.http.HttpServletRequest request,
boolean state)
request - The HttpServletRequest objectstate - If True, attach request XMLpublic static void saveToken(javax.servlet.http.HttpServletRequest request)
request - The http request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||