com.atlassian.confluence.macro.xhtml
Class RichTextMacroMigration
java.lang.Object
com.atlassian.confluence.macro.xhtml.RichTextMacroMigration
- All Implemented Interfaces:
- MacroMigration
public class RichTextMacroMigration
- extends Object
- implements 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RichTextMacroMigration
public RichTextMacroMigration(MacroManager xhtmlMacroManager)
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-2012 Atlassian. All Rights Reserved.