com.atlassian.renderer.wysiwyg
Interface MacroBodyConverter

All Known Implementing Classes:
InlineHtmlMacro

public interface MacroBodyConverter

Macros should implement this interface if they want to take full control of just converting the body from xhtml to wiki markup. Note that the nodeContext contains the outer node (that represents the macro itself) and its child nodes represent the macro 'body'.


Method Summary
 String convertXhtmlToWikiMarkup(NodeContext nodeContext, WysiwygConverter wysiwygConverter)
          Returns the converted wiki markup of the macro body from the given node context.
 

Method Detail

convertXhtmlToWikiMarkup

String convertXhtmlToWikiMarkup(NodeContext nodeContext,
                                WysiwygConverter wysiwygConverter)
Returns the converted wiki markup of the macro body from the given node context.



Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.