Class XHtmlElementToWikiTranslator

java.lang.Object
org.apache.wiki.htmltowiki.XHtmlElementToWikiTranslator

public class XHtmlElementToWikiTranslator
extends Object
Converting XHtml to Wiki Markup. This is the class which does all of the heavy loading.
  • Constructor Details

    • XHtmlElementToWikiTranslator

      public XHtmlElementToWikiTranslator​(org.jdom2.Element base) throws IOException, org.jdom2.JDOMException
      Create a new translator using the default config.
      Parameters:
      base - The base element from which to start translating.
      Throws:
      IOException - If reading of the DOM tree fails.
      org.jdom2.JDOMException - If the DOM tree is faulty.
    • XHtmlElementToWikiTranslator

      public XHtmlElementToWikiTranslator​(org.jdom2.Element base, XHtmlToWikiConfig config) throws IOException, org.jdom2.JDOMException
      Create a new translator using the specified config.
      Parameters:
      base - The base element from which to start translating.
      config - The config to use.
      Throws:
      IOException - If reading of the DOM tree fails.
      org.jdom2.JDOMException - If the DOM tree is faulty.
  • Method Details

    • getWikiString

      FIXME: I have no idea what this does...
      Returns:
      Something.