Interface WikiMacroBindingInitializer


  • @Role
    public interface WikiMacroBindingInitializer
    Initialize the binding provided to the script macros. Called before executing each wiki macro is executed.
    Since:
    11.6RC1, 11.3.2, 10.11.9
    Version:
    $Id: 9f6d5e7403cf0c71b091c1bf48484bad6eddd91d $
    • Method Detail

      • initialize

        void initialize​(WikiMacro wikiMacro,
                        WikiMacroParameters parameters,
                        String macroContent,
                        org.xwiki.rendering.transformation.MacroTransformationContext context,
                        WikiMacroBinding macroBinding)
        Initialize the binding provided to the script macros.
        Parameters:
        wikiMacro - the wiki macro
        parameters - the parameters of the macro
        macroContent - the content of the macro
        context - the macro execution context
        macroBinding - the binding map to fill