Interface MacroMigration
-
- All Known Implementing Classes:
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
- TheMacroDefinition
in wiki-markup form.context
- TheConversionContext
to perform the migration under.- Returns:
- An XHTML representation of the macro.
-
-