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