com.atlassian.renderer.wysiwyg
Interface WysiwygConverter

All Known Implementing Classes:
DefaultWysiwygConverter, PluggableWysiwygConverter

public interface WysiwygConverter


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

Method Detail

getAttribute

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


convertChildren

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


convertChildren

java.lang.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

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

Returns:
the wiki markup of the node

convertXHtmlToWikiMarkup

java.lang.String convertXHtmlToWikiMarkup(java.lang.String xhtml)

convertWikiMarkupToXHtml

java.lang.String convertWikiMarkupToXHtml(RenderContext ctx,
                                          java.lang.String wikiMarkup)

getMacroInfoHtml

java.lang.String getMacroInfoHtml(RenderContext context,
                                  java.lang.String name,
                                  int xOffset,
                                  int yOffset)

getSep

java.lang.String getSep(org.w3c.dom.Node previous,
                        java.lang.String next,
                        boolean inTable,
                        boolean inList)


Copyright © 2013 Atlassian. All Rights Reserved.