|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.util.LocalizedString
org.mmbase.util.WrappedLocalizedString
public abstract class WrappedLocalizedString
Extends and wraps LocalizedString.
| Field Summary | |
|---|---|
protected LocalizedString |
wrapped
|
| Constructor Summary | |
|---|---|
protected |
WrappedLocalizedString(LocalizedString s)
|
| Method Summary | |
|---|---|
Map<Locale,String> |
asMap()
Returns a Map representation of the localisation setting represented by this LocalizedString. |
boolean |
equals(Object o)
|
String |
get(Locale locale)
Gets the value for a certain locale. |
protected String |
getBundle()
|
String |
getKey()
Gets the key to use as a default and/or for obtaining a value from the bundle |
ReadonlyLocalizedString |
getReadonlyLocalizedString()
|
protected Map<Locale,String> |
getValues()
|
int |
hashCode()
|
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 |
| Methods inherited from class org.mmbase.util.LocalizedString |
|---|
clone, degrade, degrade, fillFromXml, getDebugString, getDefault, getLocale, getLocale, getXmlLang, setDefault, setXmlLang, toString, toStrings, toXml |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final LocalizedString wrapped
| Constructor Detail |
|---|
protected WrappedLocalizedString(LocalizedString s)
s - The wrapped LocalizedString.| Method Detail |
|---|
public String getKey()
LocalizedString
getKey in class LocalizedStringpublic void setKey(String key)
LocalizedString
setKey in class LocalizedStringpublic String get(Locale locale)
LocalizedString
get in class LocalizedString
public void set(String value,
Locale locale)
LocalizedString
set in class LocalizedStringpublic Map<Locale,String> asMap()
LocalizedString
asMap in class LocalizedStringpublic void setBundle(String b)
LocalizedString
setBundle in class LocalizedStringprotected String getBundle()
getBundle in class LocalizedStringprotected Map<Locale,String> getValues()
getValues in class LocalizedStringpublic boolean equals(Object o)
equals in class LocalizedStringpublic int hashCode()
hashCode in class LocalizedStringpublic ReadonlyLocalizedString getReadonlyLocalizedString()
getReadonlyLocalizedString in class LocalizedString
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||