com.opensymphony.xwork2.config.entities
Class ResultConfig
java.lang.Object
com.opensymphony.xwork2.util.location.Located
com.opensymphony.xwork2.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.
- Author:
- Mike
- See Also:
- Serialized Form
| Fields inherited from class com.opensymphony.xwork2.util.location.Located |
location |
params
private Map params
className
private String className
name
private String name
ResultConfig
public ResultConfig()
ResultConfig
public ResultConfig(String name,
String clazz)
ResultConfig
public ResultConfig(String name,
String className,
Map params)
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
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.