Package net.sourceforge.pmd.cpd
Class XMLOldRenderer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.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 Summary
Constructors Constructor Description XMLOldRenderer()
Deprecated.XMLOldRenderer(String encoding)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
render(CPDReport report, Writer writer)
Deprecated.Write out the contents of the report to the given writer.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.cpd.CPDReportRenderer
renderToString
-
-
-
-
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 interfaceCPDReportRenderer
- Parameters:
report
- The report to writewriter
- A writer for the report file- Throws:
IOException
- If the writer throws
-
-