public class XmlMessageResources
extends org.apache.struts.util.MessageResources
LocalizationService
:
Any calls within RHN's web UI frontend will need to have
corresponding keys in the XML resources file used by
LocalizationService.Constructor and Description |
---|
XmlMessageResources(org.apache.struts.util.MessageResourcesFactory factory,
java.lang.String config)
Construct a new XmlMessageResources according to the specified parameters.
|
XmlMessageResources(org.apache.struts.util.MessageResourcesFactory factory,
java.lang.String config,
boolean returnNull)
Construct a new XmlMessageResources according to the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage(java.util.Locale locale,
java.lang.String key) |
escape, getConfig, getFactory, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessageResources, getReturnNull, isEscape, isPresent, isPresent, localeKey, log, log, messageKey, messageKey, setEscape, setReturnNull
public XmlMessageResources(org.apache.struts.util.MessageResourcesFactory factory, java.lang.String config)
factory
- The MessageResourcesFactory that created usconfig
- The configuration parameter for this MessageResourcespublic XmlMessageResources(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