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.
Version:
- Craig R. McClanahan
- Struts 1.1
protected boolean | configured - Has this component been completely configured?
|
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.
|
configured
protected boolean configured
Has this component been completely configured?
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()
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-2005 - Apache Software Foundation