|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.scripting.StrutsInfo
public class StrutsInfo
Holds Struts objects.
Constructor Summary | |
---|---|
StrutsInfo(ScriptAction action,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
org.apache.struts.util.MessageResources res)
Constructor. |
Method Summary | |
---|---|
ScriptAction |
getAction()
Gets the action instance. |
org.apache.struts.action.ActionForm |
getForm()
Gets the action form. |
org.apache.struts.action.ActionForward |
getForward()
Gets the forward object. |
org.apache.struts.action.ActionMapping |
getMapping()
Gets the action mapping. |
org.apache.struts.util.MessageResources |
getMessages()
Gets the message resources. |
void |
setAction(ScriptAction action)
Sets the action instance. |
void |
setForm(org.apache.struts.action.ActionForm form)
Sets the action form. |
void |
setForward(org.apache.struts.action.ActionForward f)
Sets the action forward object. |
void |
setForwardName(java.lang.String f)
Sets the forward name. |
void |
setMapping(org.apache.struts.action.ActionMapping mapping)
Sets the action mapping. |
void |
setMessages(org.apache.struts.util.MessageResources res)
Sets the message resources. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StrutsInfo(ScriptAction action, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, org.apache.struts.util.MessageResources res)
action
- The action instancemapping
- The action mappingform
- The action formres
- The message resources for the current localeMethod Detail |
---|
public void setForwardName(java.lang.String f)
f
- The forward namepublic org.apache.struts.action.ActionForward getForward()
public void setForward(org.apache.struts.action.ActionForward f)
f
- The action forwardpublic void setForm(org.apache.struts.action.ActionForm form)
form
- The action formpublic void setMapping(org.apache.struts.action.ActionMapping mapping)
mapping
- The action mappingpublic void setAction(ScriptAction action)
action
- The Struts actionpublic void setMessages(org.apache.struts.util.MessageResources res)
res
- The message resourcespublic org.apache.struts.action.ActionForm getForm()
public org.apache.struts.action.ActionMapping getMapping()
public ScriptAction getAction()
public org.apache.struts.util.MessageResources getMessages()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |