org.xwiki.rendering.internal.macro.wikibridge
Interface WikiMacroBindingInitializer


@ComponentRole
public interface WikiMacroBindingInitializer

Initialize the binding provided to the script macros. Called before executing each wiki macro is executed.

Since:
2.5M1
Version:
$Id$

Method Summary
 void initialize(DocumentReference macroDocumentReference, WikiMacroParameters parameters, java.lang.String macroContent, org.xwiki.rendering.transformation.MacroTransformationContext context, java.util.Map<java.lang.String,java.lang.Object> macroBinding)
          Initialize the binding provided to the script macros.
 

Method Detail

initialize

void initialize(DocumentReference macroDocumentReference,
                WikiMacroParameters parameters,
                java.lang.String macroContent,
                org.xwiki.rendering.transformation.MacroTransformationContext context,
                java.util.Map<java.lang.String,java.lang.Object> macroBinding)
Initialize the binding provided to the script macros.

Parameters:
macroDocumentReference - the reference of the document containing 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


Copyright © 2004-2011 XWiki. All Rights Reserved.