org.apache.wiki.render
Class XHTMLRenderer

java.lang.Object
  extended by org.apache.wiki.render.WikiRenderer
      extended by org.apache.wiki.render.XHTMLRenderer

public class XHTMLRenderer
extends WikiRenderer

Implements a WikiRendered that outputs XHTML. Because the internal DOM representation is in XHTML already, this just basically dumps out everything out in a non-prettyprinted format.

Since:
2.4

Field Summary
 
Fields inherited from class org.apache.wiki.render.WikiRenderer
m_context, m_document
 
Constructor Summary
XHTMLRenderer(WikiContext context, WikiDocument doc)
          Creates an XHTML 1.0 renderer.
 
Method Summary
 String getString()
          Renders and returns the end result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XHTMLRenderer

public XHTMLRenderer(WikiContext context,
                     WikiDocument doc)
Creates an XHTML 1.0 renderer.

Parameters:
context -
doc -
Method Detail

getString

public String getString()
                 throws IOException
Renders and returns the end result.

Specified by:
getString in class WikiRenderer
Returns:
A rendered string.
Throws:
IOException - If rendering fails.


Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.