com.opensymphony.xwork.config.entities
Class ResultTypeConfig

java.lang.Object
  extended bycom.opensymphony.xwork.util.location.Located
      extended bycom.opensymphony.xwork.config.entities.ResultTypeConfig
All Implemented Interfaces:
Locatable, Serializable

public class ResultTypeConfig
extends Located
implements Serializable

Configuration class for result types.

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

Author:
Mike, Rainer Hermanns, Neo
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork.util.location.Located
location
 
Constructor Summary
ResultTypeConfig()
           
ResultTypeConfig(String name, String clazz, String defaultResultParam)
           
 
Method Summary
 void addParam(String key, String value)
           
 boolean equals(Object o)
           
 String getClazz()
           
 String getDefaultResultParam()
           
 String getName()
           
 Map getParams()
           
 int hashCode()
           
 void setClazz(String clazz)
           
 void setDefaultResultParam(String defaultResultParam)
           
 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

ResultTypeConfig

public ResultTypeConfig()

ResultTypeConfig

public ResultTypeConfig(String name,
                        String clazz,
                        String defaultResultParam)
Method Detail

getDefaultResultParam

public String getDefaultResultParam()

setDefaultResultParam

public void setDefaultResultParam(String defaultResultParam)

setClazz

public void setClazz(String clazz)

getClazz

public String getClazz()

setName

public void setName(String name)

getName

public String getName()

addParam

public void addParam(String key,
                     String value)

getParams

public Map getParams()

setParams

public void setParams(Map params)

equals

public boolean equals(Object o)

hashCode

public int hashCode()

XWork Project Page