public class

GadgetMacroMigrator

extends Object
implements MacroMigration
java.lang.Object
   ↳ com.atlassian.confluence.plugins.gadgets.migrator.GadgetMacroMigrator

Class Overview

Migrates wiki-markup macros to XHTML. This involves moving the gadget preferences from the body into a "preferences" parameter.

Summary

Public Constructors
GadgetMacroMigrator()
Public Methods
MacroDefinition migrate(MacroDefinition macroDefinition, ConversionContext conversionContext)
Migrates a wiki-markup representation of a macro to XHTML
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.macro.xhtml.MacroMigration

Public Constructors

public GadgetMacroMigrator ()

Public Methods

public MacroDefinition migrate (MacroDefinition macroDefinition, ConversionContext conversionContext)

Migrates a wiki-markup representation of a macro to XHTML

Parameters
macroDefinition The MacroDefinition in wiki-markup form.
conversionContext The ConversionContext to perform the migration under.
Returns
  • An XHTML representation of the macro.