com.atlassian.confluence.xhtml
Class EditorFormatCreator

java.lang.Object
  extended by com.atlassian.confluence.xhtml.EditorFormatCreator

public class EditorFormatCreator
extends Object

A Utility class that provides a single place for the creation of editor specific format test data


Constructor Summary
EditorFormatCreator()
           
 
Method Summary
static String convert(MacroDefinition definition)
          Create an editor formatted version of the supplied macro definition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorFormatCreator

public EditorFormatCreator()
Method Detail

convert

public static String convert(MacroDefinition definition)
Create an editor formatted version of the supplied macro definition. You should note that currently only bodyless macros with no parameters will be correctly created. This is because that is as much as a I need at this point.

Parameters:
definition -
Returns:


Copyright © 2003–2015 Atlassian. All rights reserved.