Class XMLOldRenderer

  • All Implemented Interfaces:
    CPDReportRenderer

    @Deprecated
    public class XMLOldRenderer
    extends Object
    implements CPDReportRenderer
    Deprecated.
    Update your tools to use the standard XML renderer "xml" again.
    Provides backwards compatible XML renderer, which doesn't use namespaces, schema and doesn't output error information.

    This renderer is available as "xmlold".

    • Constructor Detail

      • XMLOldRenderer

        public XMLOldRenderer()
        Deprecated.
      • XMLOldRenderer

        public XMLOldRenderer​(String encoding)
        Deprecated.
    • Method Detail

      • render

        public void render​(CPDReport report,
                           Writer writer)
                    throws IOException
        Deprecated.
        Description copied from interface: CPDReportRenderer
        Write out the contents of the report to the given writer.
        Specified by:
        render in interface CPDReportRenderer
        Parameters:
        report - The report to write
        writer - A writer for the report file
        Throws:
        IOException - If the writer throws