public final class XMLCoverageWriter extends Object
| Modifier and Type | Method and Description |
|---|---|
static XMLElement |
createChild(XMLElement parent,
String tagname,
String name)
Creates a child element with a name attribute.
|
static void |
writeBundle(IBundleCoverage bundle,
XMLElement element)
Writes the structure of a given bundle.
|
static void |
writeCounters(ICoverageNode node,
XMLElement parent)
Writes all non-zero counters of the given node.
|
public static XMLElement createChild(XMLElement parent, String tagname, String name) throws IOException
parent - parent elementtagname - name of the child tagname - value of the name attributeIOExceptionpublic static void writeBundle(IBundleCoverage bundle, XMLElement element) throws IOException
bundle - bundle coverage dataelement - container element for the bundle dataIOExceptionpublic static void writeCounters(ICoverageNode node, XMLElement parent) throws IOException
node - node to retrieve counters fromparent - container for the counter elementsIOExceptionCopyright © 2009-2012 Mountainminds GmbH & Co. KG. All Rights Reserved.