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 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranslationMacroParameters
public TranslationMacroParameters()
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
Copyright © 2004-2012 XWiki. All Rights Reserved.