com.atlassian.confluence.macro.xhtml
Class PlainTextMacroMigration

java.lang.Object
  extended by com.atlassian.confluence.macro.xhtml.PlainTextMacroMigration
All Implemented Interfaces:
MacroMigration

public class PlainTextMacroMigration
extends Object
implements MacroMigration

Migration task for migrating plain text Macros.

Since:
4.0

Constructor Summary
PlainTextMacroMigration()
           
 
Method Summary
 MacroDefinition migrate(MacroDefinition macro, ConversionContext context)
          Migrates a wiki-markup representation of a macro to XHTML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlainTextMacroMigration

public PlainTextMacroMigration()
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 interface MacroMigration
Parameters:
macro - The MacroDefinition in wiki-markup form.
context - The ConversionContext to perform the migration under.
Returns:
An XHTML representation of the macro.


Copyright © 2003-2011 Atlassian. All Rights Reserved.