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