Interface TranslationMessageElement

  • All Known Subinterfaces:
    TranslationMessage

    public interface TranslationMessageElement
    An element in a translation message.
    Since:
    5.0M2
    Version:
    $Id: 0755fc298e7c1a1bd59986006aae6ef37e660b49 $
    • Method Detail

      • render

        org.xwiki.rendering.block.Block render​(Locale locale,
                                               Collection<TranslationBundle> bundles,
                                               Object... parameters)
        Execute the transformation (resolve any variable or parameter in its content) and produce a Block to insert in an into a XDOM or to render as it is.
        Parameters:
        locale - the locale to used to resolve variables
        bundles - the bundles to resolve variables with
        parameters - the parameters
        Returns:
        the result translation