com.atlassian.renderer.wysiwyg
Interface WysiwygConverter

All Known Implementing Classes:
DefaultWysiwygConverter, PluggableWysiwygConverter

public interface WysiwygConverter


Method Summary
 String convertChildren(NodeContext nodeContext)
          Converts the children nodes of the given node in the node context to wiki markup.
 String convertChildren(Node node, Styles styles, ListContext listContext, boolean inTable, boolean inListItem, boolean ignoreText, boolean escapeWikiMarkup, Node overridePreviousSibling)
          Deprecated. Since 5.0. Use convertChildren(NodeContext) instead.
 String convertNode(NodeContext nodeContext)
          Converts the node in the node context to wiki markup.
 String convertWikiMarkupToXHtml(RenderContext ctx, String wikiMarkup)
           
 String convertXHtmlToWikiMarkup(String xhtml)
           
 String getAttribute(Node node, String name)
          Deprecated. As of release 4.1, use NodeUtil.getAttribute(org.w3c.dom.Node, String).
 String getMacroInfoHtml(RenderContext context, String name, int xOffset, int yOffset)
           
 String getSep(Node previous, String next, boolean inTable, boolean inList)
           
 

Method Detail

getAttribute

String getAttribute(Node node,
                    String name)
Deprecated. As of release 4.1, use NodeUtil.getAttribute(org.w3c.dom.Node, String).


convertChildren

String convertChildren(Node node,
                       Styles styles,
                       ListContext listContext,
                       boolean inTable,
                       boolean inListItem,
                       boolean ignoreText,
                       boolean escapeWikiMarkup,
                       Node overridePreviousSibling)
Deprecated. Since 5.0. Use convertChildren(NodeContext) instead.


convertChildren

String convertChildren(NodeContext nodeContext)
Converts the children nodes of the given node in the node context to wiki markup.

Returns:
the wiki markup of the children nodes

convertNode

String convertNode(NodeContext nodeContext)
Converts the node in the node context to wiki markup.

Returns:
the wiki markup of the node

convertXHtmlToWikiMarkup

String convertXHtmlToWikiMarkup(String xhtml)

convertWikiMarkupToXHtml

String convertWikiMarkupToXHtml(RenderContext ctx,
                                String wikiMarkup)

getMacroInfoHtml

String getMacroInfoHtml(RenderContext context,
                        String name,
                        int xOffset,
                        int yOffset)

getSep

String getSep(Node previous,
              String next,
              boolean inTable,
              boolean inList)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.