Package org.jacoco.ant
Class ReportTask.XMLFormatterElement
- java.lang.Object
-
- org.jacoco.ant.ReportTask.FormatterElement
-
- org.jacoco.ant.ReportTask.XMLFormatterElement
-
- Enclosing class:
- ReportTask
public class ReportTask.XMLFormatterElement extends ReportTask.FormatterElement
Formatter element for XML reports.
-
-
Constructor Summary
Constructors Constructor Description XMLFormatterElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IReportVisitor
createVisitor()
void
setDestfile(java.io.File destfile)
Sets the output file for the report.void
setEncoding(java.lang.String encoding)
Sets the output encoding for generated XML file.-
Methods inherited from class org.jacoco.ant.ReportTask.FormatterElement
finish
-
-
-
-
Method Detail
-
setDestfile
public void setDestfile(java.io.File destfile)
Sets the output file for the report.- Parameters:
destfile
- output file
-
setEncoding
public void setEncoding(java.lang.String encoding)
Sets the output encoding for generated XML file. Default is UTF-8.- Parameters:
encoding
- output encoding
-
createVisitor
public IReportVisitor createVisitor() throws java.io.IOException
- Specified by:
createVisitor
in classReportTask.FormatterElement
- Throws:
java.io.IOException
-
-