public class HTMLGroupVisitor extends AbstractGroupVisitor
total| Constructor and Description |
|---|
HTMLGroupVisitor(ReportPage parent,
ReportOutputFolder folder,
IHTMLReportContext context,
String name)
Create a new group handler.
|
| Modifier and Type | Method and Description |
|---|---|
NodePage<ICoverageNode> |
getPage()
Returns the page rendered for this group.
|
protected void |
handleBundle(IBundleCoverage bundle,
ISourceFileLocator locator)
Called to handle the given bundle in a specific way.
|
protected void |
handleEnd()
Called to handle the end of this group in a specific way.
|
protected AbstractGroupVisitor |
handleGroup(String name)
Called to handle a group with the given name in a specific way.
|
visitBundle, visitEnd, visitGrouppublic HTMLGroupVisitor(ReportPage parent, ReportOutputFolder folder, IHTMLReportContext context, String name)
parent - optional hierarchical parentfolder - base folder for this groupcontext - settings contextname - group namepublic NodePage<ICoverageNode> getPage()
protected void handleBundle(IBundleCoverage bundle, ISourceFileLocator locator) throws IOException
AbstractGroupVisitorhandleBundle in class AbstractGroupVisitorbundle - analyzed bundlelocator - source locatorIOException - if the report can't be writtenprotected AbstractGroupVisitor handleGroup(String name) throws IOException
AbstractGroupVisitorhandleGroup in class AbstractGroupVisitorname - name of the groupIOException - if the report can't be writtenprotected void handleEnd()
throws IOException
AbstractGroupVisitorhandleEnd in class AbstractGroupVisitorIOException - if the report can't be writtenCopyright © 2024. All rights reserved.