public interface Translation
Locale
and TranslationBundle
.Modifier and Type | Method and Description |
---|---|
TranslationBundle |
getBundle() |
String |
getKey() |
Locale |
getLocale() |
Object |
getRawSource() |
org.xwiki.rendering.block.Block |
render(Locale locale,
Object... parameters)
Execute the transformation (resolve any variable or parameter in its content) and produce a Block to insert in an
XDOM or to render as it is.
|
org.xwiki.rendering.block.Block |
render(Object... parameters)
Execute the transformation (resolve any variable or parameter in its content) and produce a Block to insert in an
XDOM or to render as it is.
|
TranslationBundle getBundle()
Locale getLocale()
String getKey()
Object getRawSource()
org.xwiki.rendering.block.Block render(Object... parameters)
The variables are resolved using the current TranslationBundleContext
bundles.
parameters
- the parametersorg.xwiki.rendering.block.Block render(Locale locale, Object... parameters)
The variables are resolved using the current TranslationBundleContext
bundles.
locale
- the locale for which this translation is renderedparameters
- the parametersCopyright © 2004–2022 XWiki. All rights reserved.