org.jacoco.report.xml
Class PackageNode
java.lang.Object
org.jacoco.report.xml.XMLElement
org.jacoco.report.xml.NodeWithCoverage
org.jacoco.report.xml.PackageNode
- All Implemented Interfaces:
- IReportVisitor
public class PackageNode
- extends NodeWithCoverage
Wrapper for an XMLElement
that contains package coverage data
- Version:
- $Revision: $
- Author:
- Brock Janiczak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PackageNode
public PackageNode(GroupNode parent,
ICoverageNode packageNode)
throws IOException
- Creates a new Package coverage element under the supplied group element
- Parameters:
parent
- Parent element that will own this class elementpackageNode
- Package coverage node
- Throws:
IOException
- IO Error creating the element
visitChild
public IReportVisitor visitChild(ICoverageNode node)
throws IOException
- Description copied from interface:
IReportVisitor
- Called for every direct child.
- Parameters:
node
- Node for the child in the implementation class specific to
this type. The counters are may yet be populated.
- Returns:
- visitor instance for processing the child node
- Throws:
IOException
- in case of IO problems with the report writer