com.opensymphony.xwork.config.entities
Class ResultConfig

java.lang.Object
  extended by com.opensymphony.xwork.util.location.Located
      extended by com.opensymphony.xwork.config.entities.ResultConfig
All Implemented Interfaces:
Parameterizable, Locatable, Serializable

public class ResultConfig
extends Located
implements Parameterizable, Serializable

Configuration for Result.

In the xml configuration file this is defined as the result tag.

Version:
$Date: 2006-07-22 09:30:28 -0500 (Sat, 22 Jul 2006) $ $Id: ResultConfig.java 1083 2006-07-22 14:30:28Z tm_jee $
Author:
Mike, tm_jee
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork.util.location.Located
location
 
Constructor Summary
ResultConfig()
           
ResultConfig(String name, String clazz)
           
ResultConfig(String name, String clazz, Map params)
           
 
Method Summary
 void addParam(String name, Object value)
           
 boolean equals(Object o)
           
 String getClassName()
           
 String getName()
           
 Map getParams()
           
 int hashCode()
           
 void setClassName(String className)
           
 void setName(String name)
           
 void setParams(Map params)
           
 
Methods inherited from class com.opensymphony.xwork.util.location.Located
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultConfig

public ResultConfig()

ResultConfig

public ResultConfig(String name,
                    String clazz)

ResultConfig

public ResultConfig(String name,
                    String clazz,
                    Map params)
Method Detail

setClassName

public void setClassName(String className)

getClassName

public String getClassName()

setName

public void setName(String name)

getName

public String getName()

setParams

public void setParams(Map params)
Specified by:
setParams in interface Parameterizable

getParams

public Map getParams()
Specified by:
getParams in interface Parameterizable

addParam

public void addParam(String name,
                     Object value)
Specified by:
addParam in interface Parameterizable

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

WebWork Project Page