com.atlassian.confluence.macro.xhtml
Interface MacroMigration

All Known Implementing Classes:
GadgetMacroMigrator, PlainTextMacroMigration, RichTextMacroMigration, V2MacroToUnmigratedWikiMarkupMacroMigration

public interface MacroMigration

Represents a task that will transform a MacroDefinition for migration.
Two implementations are provided by core:

Since:
4.0.0

Method Summary
 MacroDefinition migrate(MacroDefinition macro, ConversionContext context)
          Migrates a wiki-markup representation of a macro to XHTML
 

Method Detail

migrate

MacroDefinition migrate(MacroDefinition macro,
                        ConversionContext context)
Migrates a wiki-markup representation of a macro to XHTML

Parameters:
macro - The MacroDefinition in wiki-markup form.
context - The ConversionContext to perform the migration under.
Returns:
An XHTML representation of the macro.


Copyright © 2003-2012 Atlassian. All Rights Reserved.