org.jacoco.ant
Class ReportTask.XMLFormatterElement

java.lang.Object
  extended by org.jacoco.ant.ReportTask.XMLFormatterElement
Enclosing class:
ReportTask

public class ReportTask.XMLFormatterElement
extends Object

Formatter element for XML reports.


Constructor Summary
ReportTask.XMLFormatterElement()
           
 
Method Summary
 org.jacoco.report.IReportVisitor createVisitor()
           
 void 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportTask.XMLFormatterElement

public ReportTask.XMLFormatterElement()
Method Detail

setDestfile

public void setDestfile(File destfile)
Sets the output file for the report.

Parameters:
destfile - output file

setEncoding

public void setEncoding(String encoding)
Sets the output encoding for generated XML file. Default is UTF-8.

Parameters:
encoding - output encoding

createVisitor

public org.jacoco.report.IReportVisitor createVisitor()
                                               throws IOException
Throws:
IOException


Copyright © 2009–2023 Mountainminds GmbH & Co. KG. All rights reserved.