|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.util.MessageResources
org.apache.struts.util.PropertyMessageResources
com.oroad.stxx.util.PropertyMessageResources
Extends MessageResources for Struts 1.0
| Field Summary |
| Fields inherited from class org.apache.struts.util.PropertyMessageResources |
locales, messages |
| Fields inherited from class org.apache.struts.util.MessageResources |
config, defaultFactory, defaultLocale, factory, formats, returnNull |
| Constructor Summary | |
PropertyMessageResources(org.apache.struts.util.MessageResourcesFactory factory,
java.lang.String config)
Construct a new PropertyMessageResources according to the specified parameters. |
|
PropertyMessageResources(org.apache.struts.util.MessageResourcesFactory factory,
java.lang.String config,
boolean returnNull)
Construct a new PropertyMessageResources according to the specified parameters. |
|
| Method Summary | |
java.util.Map |
getMessages(java.util.Locale locale)
Returns a text message for the specified key, for the default Locale. |
| Methods inherited from class org.apache.struts.util.PropertyMessageResources |
getMessage, loadLocale |
| Methods inherited from class org.apache.struts.util.MessageResources |
escape, getConfig, getFactory, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessageResources, getReturnNull, isPresent, isPresent, localeKey, log, log, messageKey, messageKey, setReturnNull |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyMessageResources(org.apache.struts.util.MessageResourcesFactory factory,
java.lang.String config)
factory - The MessageResourcesFactory that created usconfig - The configuration parameter for this MessageResources
public PropertyMessageResources(org.apache.struts.util.MessageResourcesFactory factory,
java.lang.String config,
boolean returnNull)
factory - The MessageResourcesFactory that created usconfig - The configuration parameter for this MessageResourcesreturnNull - The returnNull property we should initialize with| Method Detail |
public java.util.Map getMessages(java.util.Locale locale)
returnNull
property is set. Otherwise, an appropriate error message will be
returned. This method must be implemented by a concrete subclass.
locale - The requested message Locale, or null for the
system default Locale
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||