com.atlassian.confluence.content.render.xhtml.migration
Class WikiToEditorHtmlMigrator

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.migration.WikiToEditorHtmlMigrator
All Implemented Interfaces:
ExceptionThrowingMigrator

public class WikiToEditorHtmlMigrator
extends java.lang.Object
implements ExceptionThrowingMigrator

Convert a wiki formatted String into Confluence Editor format HTML.


Method Summary
 java.lang.String migrate(java.lang.String wiki, com.atlassian.renderer.RenderContext renderContext)
           Migrate the supplied text to a different text format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

migrate

public java.lang.String migrate(java.lang.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 interface ExceptionThrowingMigrator
Parameters:
wiki - the String to be migrated
renderContext - 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.


Copyright © 2003-2014 Atlassian. All Rights Reserved.