| Constructor and Description |
|---|
TextImpl() |
TextImpl(List<Locale> locales,
String text) |
TextImpl(Locale locale,
String text) |
TextImpl(Text text) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Locale> |
getLocales() |
String |
getText() |
String |
getText(Locale locale) |
Set<Translation> |
getTranslations() |
void |
setText(Locale locale,
String text)
sets (means: "add" or "replace") a text with a given locale
|
void |
setTranslations(Set<Translation> translations) |
public TextImpl()
public TextImpl(Text text)
public Collection<Locale> getLocales()
getLocales in interface Textpublic void setText(Locale locale, String text)
Textpublic Set<Translation> getTranslations()
getTranslations in interface Textpublic void setTranslations(Set<Translation> translations)
setTranslations in interface TextCopyright © 2018. All rights reserved.