org.apache.wiki.render
Class WysiwygEditingRenderer

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

public class WysiwygEditingRenderer
extends WikiRenderer

Implements a WikiRendered that outputs XHTML in a format that is suitable for use by a WYSIWYG XHTML editor.

Since:
2.5

Field Summary
 
Fields inherited from class org.apache.wiki.render.WikiRenderer
m_context, m_document
 
Constructor Summary
WysiwygEditingRenderer(WikiContext context, WikiDocument doc)
          Creates a WYSIWYG editing 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

WysiwygEditingRenderer

public WysiwygEditingRenderer(WikiContext context,
                              WikiDocument doc)
Creates a WYSIWYG editing 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.