com.atlassian.confluence.macro.xhtml
Interface MacroMigration
- All Known Implementing Classes:
- GadgetMacroMigrator, PlainTextMacroMigration, RichTextMacroMigration, SpaceJumpMacroMigrator, V2MacroToUnmigratedWikiMarkupMacroMigration
public interface MacroMigration
Represents a task that will transform a MacroDefinition for migration.
Two implementations are provided by core:
- Since:
- 4.0.0
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-2013 Atlassian. All Rights Reserved.