IReportVisitor
AbstractGroupVisitor
, HTMLGroupVisitor
, MultiReportVisitor
, XMLGroupVisitor
public interface IReportGroupVisitor
IReportGroupVisitor
instances:
visitBundle(IBundleCoverage, ISourceFileLocator)
) or groups
visitGroup(String)
). Bundles and groups are not allowed for the same
visitor.visitGroup(String)
the
hierarchy has to be processed in a "deep first" manner.Modifier and Type | Method | Description |
---|---|---|
void |
visitBundle(IBundleCoverage bundle,
ISourceFileLocator locator) |
Called to add a bundle to the the report.
|
IReportGroupVisitor |
visitGroup(java.lang.String name) |
Called to add a new group to the report.
|
void visitBundle(IBundleCoverage bundle, ISourceFileLocator locator) throws java.io.IOException
bundle
- a bundle to include in the reportlocator
- source locator for this bundlejava.io.IOException
- in case of IO problems with the report writerIReportGroupVisitor visitGroup(java.lang.String name) throws java.io.IOException
IReportGroupVisitor
instance can be used to add nested bundles or
groups. The content of the group has to be completed before this or any
parent visitor can be used again ("deep first").name
- name of the groupjava.io.IOException
- in case of IO problems with the report writerCopyright © 2018. All rights reserved.