com.ecyrd.jspwiki.htmltowiki
Class HtmlStringToWikiTranslator
java.lang.Object
com.ecyrd.jspwiki.htmltowiki.HtmlStringToWikiTranslator
public class HtmlStringToWikiTranslator
- extends Object
Converting Html to Wiki Markup with NekoHtml for converting html to xhtml and
Xhtml2WikiTranslator for converting xhtml to Wiki Markup.
- Author:
- Sebastian Baltes (sbaltes@gmx.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlStringToWikiTranslator
public HtmlStringToWikiTranslator()
translate
public String translate(String html)
throws JDOMException,
IOException
- Throws:
JDOMException
IOException
translate
public String translate(String html,
WikiContext wikiContext)
throws JDOMException,
IOException
- Throws:
JDOMException
IOException
translate
public String translate(String html,
XHtmlToWikiConfig config)
throws JDOMException,
IOException
- Throws:
JDOMException
IOException
element2String
public static String element2String(Element element)