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 TypeMethodDescriptionvoidsetDestfile(File destfile) Sets the output file for the report.voidsetEncoding(String encoding) Sets the output encoding for generated XML file.Methods inherited from class 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:
createVisitorin classReportTask.FormatterElement- Throws:
IOException
-