|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Unstable public interface Translation
A translation is a specific Locale and TranslationBundle.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 parameters
org.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 parameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||