|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.config.BaseConfig org.apache.struts.config.MessageResourcesConfig
public class MessageResourcesConfig
A JavaBean representing the configuration information of a
<message-resources>
element in a Struts configuration
file.
Field Summary | |
---|---|
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. |
Fields inherited from class org.apache.struts.config.BaseConfig |
---|
configured |
Constructor Summary | |
---|---|
MessageResourcesConfig()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.struts.config.BaseConfig |
---|
copyProperties, freeze, getProperties, getProperty, inheritProperties, setProperties, setProperty, throwIfConfigured |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String factory
protected String key
protected boolean nullValue
null
for unknown message keys?
protected String parameter
createResources()
method
of our MessageResourcesFactory implementation.
Constructor Detail |
---|
public MessageResourcesConfig()
Method Detail |
---|
public String getFactory()
public void setFactory(String factory)
public String getKey()
public void setKey(String key)
public boolean getNull()
public void setNull(boolean nullValue)
public boolean isEscape()
public void setEscape(boolean escape)
public String getParameter()
public void setParameter(String parameter)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |