com.opensymphony.webwork.dispatcher.mapper
Class ActionMapping

java.lang.Object
  extended by com.opensymphony.webwork.dispatcher.mapper.ActionMapping

public class ActionMapping
extends Object

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.

Author:
Patrick Lightbody

Constructor Summary
ActionMapping()
           
ActionMapping(com.opensymphony.xwork.Result result)
           
ActionMapping(String name, String namespace, String method, Map params)
           
 
Method Summary
 String getMethod()
           
 String getName()
           
 String getNamespace()
           
 Map getParams()
           
 com.opensymphony.xwork.Result getResult()
           
 void setMethod(String method)
           
 void setName(String name)
           
 void setNamespace(String namespace)
           
 void setParams(Map params)
           
 void setResult(com.opensymphony.xwork.Result result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionMapping

public ActionMapping()

ActionMapping

public ActionMapping(com.opensymphony.xwork.Result result)

ActionMapping

public ActionMapping(String name,
                     String namespace,
                     String method,
                     Map params)
Method Detail

getName

public String getName()

getNamespace

public String getNamespace()

getParams

public Map getParams()

getMethod

public String getMethod()

getResult

public com.opensymphony.xwork.Result getResult()

setResult

public void setResult(com.opensymphony.xwork.Result result)

setName

public void setName(String name)

setNamespace

public void setNamespace(String namespace)

setMethod

public void setMethod(String method)

setParams

public void setParams(Map params)


Copyright © 2007 OpenSymphony. All Rights Reserved.