Class WikiToEditorHtmlMigrator
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.migration.WikiToEditorHtmlMigrator
-
- All Implemented Interfaces:
ExceptionThrowingMigrator
public class WikiToEditorHtmlMigrator extends Object implements ExceptionThrowingMigrator
Convert a wiki formatted String into Confluence Editor format HTML.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
migrate(String wiki, com.atlassian.renderer.RenderContext renderContext)
Migrate the supplied text to a different text format.
-
-
-
Method Detail
-
migrate
public String migrate(String wiki, com.atlassian.renderer.RenderContext renderContext) throws XhtmlException
Description copied from interface:ExceptionThrowingMigrator
Migrate the supplied text to a different text format.
- Specified by:
migrate
in interfaceExceptionThrowingMigrator
- Parameters:
wiki
- the String to be migratedrenderContext
- the context for the rendering during this migration- Returns:
- the converted version of the supplied input text.
- Throws:
XhtmlException
- should there be problems migrating the supplied input.
-
-