Class RichTextMacroMigration
java.lang.Object
com.atlassian.confluence.macro.xhtml.RichTextMacroMigration
- All Implemented Interfaces:
MacroMigration
Takes a macro with wiki-markup in its body and converts it to XHTML storage format. All wiki markup in the body
of the macro is rendered with
RenderMode.ALL. If you need to migrate the body of your macro with a different
render mode flag, please write and specify your own macro migration task.- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmigrate(MacroDefinition macroDefinition, ConversionContext conversionContext) Migrates a wiki-markup representation of a macro to XHTML
-
Constructor Details
-
RichTextMacroMigration
-
-
Method Details
-
migrate
public MacroDefinition migrate(MacroDefinition macroDefinition, ConversionContext conversionContext) Description copied from interface:MacroMigrationMigrates a wiki-markup representation of a macro to XHTML- Specified by:
migratein interfaceMacroMigration- Parameters:
macroDefinition- TheMacroDefinitionin wiki-markup form.conversionContext- TheConversionContextto perform the migration under.- Returns:
- An XHTML representation of the macro.
-