Save This Page
Home » struts-2.0.11.2-src » org.apache » struts2 » dispatcher » mapper » [javadoc | source]
org.apache.struts2.dispatcher.mapper
public class: ActionMapping [javadoc | source]
java.lang.Object
   org.apache.struts2.dispatcher.mapper.ActionMapping
Simple class that holds the action mapping information used to invoke a Struts 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:
 public ActionMapping() 
 public ActionMapping(Result result) 
    Constructs an ActionMapping with a default result
    Parameters:
    result - The default result
 public ActionMapping(String name,
    String namespace,
    String method,
    Map params) 
    Constructs an ActionMapping with its values
    Parameters:
    name - The action name
    namespace - The action namespace
    method - The method
    params - The extra parameters
Method from org.apache.struts2.dispatcher.mapper.ActionMapping Summary:
getMethod,   getName,   getNamespace,   getParams,   getResult,   setMethod,   setName,   setNamespace,   setParams,   setResult
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts2.dispatcher.mapper.ActionMapping Detail:
 public String getMethod() 
 public String getName() 
 public String getNamespace() 
 public Map getParams() 
 public Result getResult() 
 public  void setMethod(String method) 
 public  void setName(String name) 
 public  void setNamespace(String namespace) 
 public  void setParams(Map params) 
 public  void setResult(Result result)