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:
Two implementations are provided by core:
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionmigrate
(MacroDefinition macro, ConversionContext context) Migrates a wiki-markup representation of a macro to XHTML
-
Method Details
-
migrate
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.
-