public class TranslationUnitVariant extends Object
| Constructor and Description |
|---|
TranslationUnitVariant()
Creates an empty TUV
|
TranslationUnitVariant(LocaleId language,
TextFragment content)
Creates a TUV with the given language and content
|
| Modifier and Type | Method and Description |
|---|---|
TextFragment |
getContent() |
LocaleId |
getLanguage() |
void |
setContent(TextFragment content) |
void |
setLocale(LocaleId locale) |
public TranslationUnitVariant()
public TranslationUnitVariant(LocaleId language, TextFragment content)
language - the language of the TUVcontent - the content of the TUVpublic TextFragment getContent()
public void setContent(TextFragment content)
public LocaleId getLanguage()
public void setLocale(LocaleId locale)
Copyright © 2019. All rights reserved.