|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IReportGroupVisitor
Output-Interface for hierarchical report structures. To allow sequential
processing and save memory the group structure has to be traversed in a "deep
first" fashion. The interface is implemented by the report formatters and can
be used to emit coverage report structures.
The following constraints apply in using 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.
Method Summary | |
---|---|
void |
visitBundle(IBundleCoverage bundle,
ISourceFileLocator locator)
Called to add a bundle to the report. |
IReportGroupVisitor |
visitGroup(String name)
Called to add a new group to the report. |
Method Detail |
---|
void visitBundle(IBundleCoverage bundle, ISourceFileLocator locator) throws IOException
bundle
- a bundle to include in the reportlocator
- source locator for this bundle
IOException
- in case of IO problems with the report writerIReportGroupVisitor visitGroup(String name) throws 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 group
IOException
- in case of IO problems with the report writer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |