Package org.xwiki.localization.macro
Class TranslationMacroParameters
- java.lang.Object
-
- org.xwiki.localization.macro.TranslationMacroParameters
-
public class TranslationMacroParameters extends Object
Parameters for the translation macro.- Since:
- 4.3M2
- Version:
- $Id: 7d0ce9fbafbb29683b21f1a76904fc0fcf5fa139 $
-
-
Constructor Summary
Constructors Constructor Description TranslationMacroParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
Locale
getLocale()
String[]
getParameters()
void
setKey(String key)
void
setLocale(Locale locale)
void
setParameters(String[] parameters)
-
-
-
Method Detail
-
getKey
public String getKey()
- Returns:
- the key associated to the translation
-
setKey
public void setKey(String key)
- Parameters:
key
- the key associated to the translation
-
getLocale
public Locale getLocale()
- Returns:
- the locale in which to resolve the translation
-
setLocale
public void setLocale(Locale locale)
- Parameters:
locale
- the locale in which to resolve the translation
-
getParameters
public String[] getParameters()
- Returns:
- the translation parameters
-
setParameters
public void setParameters(String[] parameters)
- Parameters:
parameters
- the translation parameters
-
-