com.atlassian.confluence.plugins.gadgets.migrator
Class GadgetMacroMigrator
java.lang.Object
com.atlassian.confluence.plugins.gadgets.migrator.GadgetMacroMigrator
- All Implemented Interfaces:
- MacroMigration
public class GadgetMacroMigrator
- extends Object
- implements MacroMigration
Migrates wiki-markup macros to XHTML. This involves moving the gadget preferences
from the body into a "preferences" parameter.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GadgetMacroMigrator
public GadgetMacroMigrator()
migrate
public MacroDefinition migrate(MacroDefinition macroDefinition,
ConversionContext conversionContext)
- Description copied from interface:
MacroMigration
- Migrates a wiki-markup representation of a macro to XHTML
- Specified by:
migrate
in interface MacroMigration
- Parameters:
macroDefinition
- The MacroDefinition
in wiki-markup form.conversionContext
- The ConversionContext
to perform the migration under.
- Returns:
- An XHTML representation of the macro.
Copyright © 2003-2011 Atlassian. All Rights Reserved.