public class StrutsInfo
extends java.lang.Object
| Constructor and Description |
|---|
StrutsInfo(ScriptAction action,
ActionMapping mapping,
ActionForm form,
MessageResources res)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptAction |
getAction()
Gets the action instance.
|
ActionForm |
getForm()
Gets the action form.
|
ActionForward |
getForward()
Gets the forward object.
|
ActionMapping |
getMapping()
Gets the action mapping.
|
MessageResources |
getMessages()
Gets the message resources.
|
void |
setAction(ScriptAction action)
Sets the action instance.
|
void |
setForm(ActionForm form)
Sets the action form.
|
void |
setForward(ActionForward f)
Sets the action forward object.
|
void |
setForwardName(java.lang.String f)
Sets the forward name.
|
void |
setMapping(ActionMapping mapping)
Sets the action mapping.
|
void |
setMessages(MessageResources res)
Sets the message resources.
|
public StrutsInfo(ScriptAction action, ActionMapping mapping, ActionForm form, MessageResources res)
action - The action instancemapping - The action mappingform - The action formres - The message resources for the current localepublic void setForwardName(java.lang.String f)
f - The forward namepublic ActionForward getForward()
public void setForward(ActionForward f)
f - The action forwardpublic void setForm(ActionForm form)
form - The action formpublic void setMapping(ActionMapping mapping)
mapping - The action mappingpublic void setAction(ScriptAction action)
action - The Struts actionpublic void setMessages(MessageResources res)
res - The message resourcespublic ActionForm getForm()
public ActionMapping getMapping()
public ScriptAction getAction()
public MessageResources getMessages()
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.