XMLFormatter (JaCoCo 0.6.3.201306030806 API)
Date: 2013-06-03

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jacoco.report.xml
Class XMLFormatter

    java.lang.Object
      org.jacoco.report.xml.XMLFormatter

    public class XMLFormatter

extends Object

Report formatter that creates a single XML file for a coverage session

Constructor Summary
`XMLFormatter()`

Method Summary
`IReportVisitor` | `createVisitor(OutputStream output)` Creates a new visitor to write a report to the given stream.
`void` | `setOutputEncoding(String outputEncoding)` Sets the encoding used for generated XML document.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### XMLFormatter

    public XMLFormatter()

Method Detail

### setOutputEncoding

    public void setOutputEncoding(String outputEncoding)

  Sets the encoding used for generated XML document. Default is UTF-8.

  Parameters:
    `outputEncoding` - XML output encoding

### createVisitor

    public IReportVisitor createVisitor(OutputStream output)
                                 throws IOException

  Creates a new visitor to write a report to the given stream.

  Parameters:
    `output` - output stream to write the report to
  Returns:
    visitor to emit the report data to
  Throws:
    `IOException` - in case of problems with the output stream

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009-2013 Mountainminds GmbH & Co. KG. All Rights Reserved.