org.apache.struts.config
public class MessageResourcesConfig extends Object implements Serializable
A JavaBean representing the configuration information of a
<message-resources> element in a Struts
configuration file.
Since: Struts 1.1
Version: $Rev: 264684 $ $Date: 2005-08-30 04:08:01 +0100 (Tue, 30 Aug 2005) $
| Field Summary | |
|---|---|
| protected boolean | configured
Has this component been completely configured? |
| boolean | escape
Indicates whether 'escape processing' should be performed on
the error message string. |
| protected String | factory
Fully qualified Java class name of the MessageResourcesFactory class
we should use. |
| protected String | key
The servlet context attributes key under which this MessageResources
instance is stored. |
| protected boolean | nullValue
Should we return null for unknown message keys? |
| protected String | parameter
Parameter that is passed to the createResources() method
of our MessageResourcesFactory implementation. |
| Method Summary | |
|---|---|
| void | freeze()
Freeze the configuration of this component. |
| String | getFactory() |
| String | getKey() |
| boolean | getNull() |
| String | getParameter() |
| boolean | isEscape()
Indicates whether 'escape processing' should be performed on
the error message string.
|
| void | setEscape(boolean escape)
Set whether 'escape processing' should be performed on
the error message string.
|
| void | setFactory(String factory) |
| void | setKey(String key) |
| void | setNull(boolean nullValue) |
| void | setParameter(String parameter) |
| String | toString()
Return a String representation of this object. |
null for unknown message keys?createResources() method
of our MessageResourcesFactory implementation.Since: Struts 1.2.8
Since: Struts 1.2.8