public class ReadonlyLocalizedString extends WrappedLocalizedString
wrapped| Constructor and Description |
|---|
ReadonlyLocalizedString(LocalizedString s) |
| Modifier and Type | Method and Description |
|---|---|
LocalizedString |
clone() |
ReadonlyLocalizedString |
getReadonlyLocalizedString() |
void |
set(String value,
Locale locale)
Sets the value for a certain locale.
|
void |
setBundle(String b)
A resource-bundle with given name can be associated to this LocalizedString.
|
void |
setKey(String key)
Sets the key to use as a default and/or for obtaining a value from the bundle
|
asMap, equals, get, getBundle, getKey, getValues, hashCodedegrade, degrade, fillFromXml, getDebugString, getDefault, getLocale, getLocale, getXmlLang, setDefault, setXmlLang, toString, toStrings, toXmlReadonlyLocalizedString(LocalizedString s)
s - The wrapped LocalizedString.public void setKey(String key)
LocalizedStringsetKey in class WrappedLocalizedStringpublic void set(String value, Locale locale)
LocalizedStringset in class WrappedLocalizedStringpublic void setBundle(String b)
LocalizedStringsetBundle in class WrappedLocalizedStringpublic LocalizedString clone()
clone in interface PublicCloneable<LocalizedString>clone in class LocalizedStringpublic ReadonlyLocalizedString getReadonlyLocalizedString()
getReadonlyLocalizedString in class WrappedLocalizedStringMMBase 1.9-SNAPSHOT - ${javadoctimestamp}