|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.webwork.dispatcher.mapper.ActionMapping
public class ActionMapping
Simple class that holds the action mapping information used to invoke a WebWork action. The name and namespace are required, but the params map is optional, and as such may be null. If a params map is supplied, it must be a mutable map, such as a HashMap.
Constructor Summary | |
---|---|
ActionMapping()
Create a default ActionMapping with the followings properties as null :- name namespace method params result |
|
ActionMapping(Result result)
Create an ActionMapping with result supplied as arguments with
the remaining properties as null. |
|
ActionMapping(String name,
String namespace,
String method,
Map params)
Create an ActionMapping with the name , namespace ,
method and params supplied. |
Method Summary | |
---|---|
String |
getMethod()
Return the action's execution method's name. |
String |
getName()
Return the action's name. |
String |
getNamespace()
Return the action's namespace. |
Map |
getParams()
Return the action parameters. |
Result |
getResult()
Return the action's Result |
void |
setMethod(String method)
Set the action's execution method name. |
void |
setName(String name)
Set the action's name. |
void |
setNamespace(String namespace)
Set the action's namespace. |
void |
setParams(Map params)
Set the action's parameters. |
void |
setResult(Result result)
Set the action's Result . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionMapping()
public ActionMapping(Result result)
result
supplied as arguments with
the remaining properties as null.
result
- public ActionMapping(String name, String namespace, String method, Map params)
name
, namespace
,
method
and params
supplied.
name
- namespace
- method
- params
- Method Detail |
---|
public String getName()
public String getNamespace()
public Map getParams()
public String getMethod()
public Result getResult()
Result
public void setResult(Result result)
Result
.
result
- public void setName(String name)
name
- public void setNamespace(String namespace)
namespace
- public void setMethod(String method)
method
- public void setParams(Map params)
params
-
|
WebWork Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |