Class HTMLRenderer

  • All Implemented Interfaces:
    PropertySource, Renderer

    public class HTMLRenderer
    extends AbstractIncrementingRenderer
    Renderer to basic HTML format. FIXME: this class should just work with the XMLRenderer and then apply an XSLT transformation + stylesheet. No need to hard-code HTML markup here.
    • Constructor Detail

      • HTMLRenderer

        public HTMLRenderer()
    • Method Detail

      • defaultFileExtension

        public java.lang.String defaultFileExtension()
        Description copied from interface: Renderer
        Return the default filename extension to use.
        Returns:
        String
      • renderBody

        public void renderBody​(java.io.Writer writer,
                               Report report)
                        throws java.io.IOException
        Write the body of the main body of the HTML content.
        Parameters:
        writer -
        report -
        Throws:
        java.io.IOException
      • start

        public void start()
                   throws java.io.IOException
        Description copied from interface: Renderer
        This method is called before any source files are processed. The Renderer will have been fully initialized by the time this method is called, so the Writer and other state will be available.
        Specified by:
        start in interface Renderer
        Overrides:
        start in class AbstractIncrementingRenderer
        Throws:
        java.io.IOException