com.ecyrd.jspwiki.render
Class CleanTextRenderer

java.lang.Object
  extended by com.ecyrd.jspwiki.render.WikiRenderer
      extended by com.ecyrd.jspwiki.render.CleanTextRenderer

public class CleanTextRenderer
extends WikiRenderer

A simple renderer that just renders all the text() nodes from the DOM tree. This is very useful for cleaning away all of the XHTML.

Since:
2.4
Author:
Janne Jalkanen

Field Summary
protected static org.apache.log4j.Logger log
           
 
Fields inherited from class com.ecyrd.jspwiki.render.WikiRenderer
m_context, m_document, m_enablePlugins
 
Constructor Summary
CleanTextRenderer(WikiContext context, WikiDocument doc)
           
 
Method Summary
 String getString()
           
 
Methods inherited from class com.ecyrd.jspwiki.render.WikiRenderer
enablePlugins
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Constructor Detail

CleanTextRenderer

public CleanTextRenderer(WikiContext context,
                         WikiDocument doc)
Method Detail

getString

public String getString()
                 throws IOException
Specified by:
getString in class WikiRenderer
Throws:
IOException