|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.report.internal.xml.XMLCoverageWriter
public final class XMLCoverageWriter
Serializes coverage data as XML fragments.
| Method Summary | |
|---|---|
static XMLElement |
createChild(XMLElement parent,
String tagname,
String name)
Creates a child element with a name attribute. |
static void |
writeBundle(org.jacoco.core.analysis.IBundleCoverage bundle,
XMLElement element)
Writes the structure of a given bundle. |
static void |
writeCounters(org.jacoco.core.analysis.ICoverageNode node,
XMLElement parent)
Writes all non-zero counters of the given node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static XMLElement createChild(XMLElement parent,
String tagname,
String name)
throws IOException
parent - parent elementtagname - name of the child tagname - value of the name attribute
IOException
public static void writeBundle(org.jacoco.core.analysis.IBundleCoverage bundle,
XMLElement element)
throws IOException
bundle - bundle coverage dataelement - container element for the bundle data
IOException
public static void writeCounters(org.jacoco.core.analysis.ICoverageNode node,
XMLElement parent)
throws IOException
node - node to retrieve counters fromparent - container for the counter elements
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||