com.ecyrd.jspwiki.htmltowiki
Class XHtmlElementToWikiTranslator

java.lang.Object
  extended by com.ecyrd.jspwiki.htmltowiki.XHtmlElementToWikiTranslator

public class XHtmlElementToWikiTranslator
extends Object

Converting XHtml to Wiki Markup. This is the class which does all of the heavy loading.

Author:
Sebastian Baltes (sbaltes@gmx.com)

Constructor Summary
XHtmlElementToWikiTranslator(Element base)
          Create a new translator using the default config.
XHtmlElementToWikiTranslator(Element base, XHtmlToWikiConfig config)
          Create a new translator using the specified config.
 
Method Summary
 String getWikiString()
          FIXME: I have no idea what this does...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XHtmlElementToWikiTranslator

public XHtmlElementToWikiTranslator(Element base)
                             throws IOException,
                                    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.
JDOMException - If the DOM tree is faulty.

XHtmlElementToWikiTranslator

public XHtmlElementToWikiTranslator(Element base,
                                    XHtmlToWikiConfig config)
                             throws IOException,
                                    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.
JDOMException - If the DOM tree is faulty.
Method Detail

getWikiString

public String getWikiString()
FIXME: I have no idea what this does...

Returns:
Something.