Class WysiwygEditingRenderer


  • public class WysiwygEditingRenderer
    extends WikiRenderer
    Implements a WikiRenderer that outputs XHTML in a format that is suitable for use by a WYSIWYG XHTML editor.
    Since:
    2.5
    • Constructor Detail

      • WysiwygEditingRenderer

        public WysiwygEditingRenderer​(Context context,
                                      WikiDocument doc)
        Creates a WYSIWYG editing renderer.
        Parameters:
        context - A WikiContext in which the rendering will take place.
        doc - The WikiDocument which shall be rendered.
    • Method Detail

      • getString

        public java.lang.String getString()
                                   throws java.io.IOException
        Renders and returns the end result.
        Specified by:
        getString in class WikiRenderer
        Returns:
        A rendered string.
        Throws:
        java.io.IOException - If rendering fails.