Class PlainTextMacroMigration
- java.lang.Object
-
- com.atlassian.confluence.macro.xhtml.PlainTextMacroMigration
-
- All Implemented Interfaces:
MacroMigration
public class PlainTextMacroMigration extends Object implements MacroMigration
Migration task for migrating plain textMacro
s.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description PlainTextMacroMigration()
-
Method Summary
All Methods Instance Methods Concrete 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
public MacroDefinition migrate(MacroDefinition macro, ConversionContext context)
Description copied from interface:MacroMigration
Migrates a wiki-markup representation of a macro to XHTML- Specified by:
migrate
in interfaceMacroMigration
- Parameters:
macro
- TheMacroDefinition
in wiki-markup form.context
- TheConversionContext
to perform the migration under.- Returns:
- An XHTML representation of the macro.
-
-