|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacoco.report.html.ReportPage
org.jacoco.report.html.NodePage
org.jacoco.report.html.PackagePage
public class PackagePage
Page showing coverage information for a Java package. The page contains a table with all classes of the package.
Field Summary |
---|
Fields inherited from class org.jacoco.report.html.ReportPage |
---|
context, folder |
Fields inherited from interface org.jacoco.report.IReportVisitor |
---|
NOP |
Constructor Summary | |
---|---|
PackagePage(ICoverageNode node,
ReportPage parent,
ReportOutputFolder folder,
IHTMLReportContext context)
Creates a new visitor in the given context. |
Method Summary | |
---|---|
protected void |
content(HTMLElement body)
Creates the actual content of the page. |
protected String |
getFileName()
Specifies the local file name of this page. |
String |
getLinkLabel()
Returns the display label used for the link. |
protected String |
getOnload()
Returns the onload handler for this page. |
protected void |
headExtra(HTMLElement head)
Hook to add extra content into the head tag. |
IReportVisitor |
visitChild(ICoverageNode node)
Called for every direct child. |
void |
visitEnd(ISourceFileLocator sourceFileLocator)
Called at the very end, when all child node have been processed and the counters for this node are properly populated. |
Methods inherited from class org.jacoco.report.html.NodePage |
---|
getLinkStyle, getNode |
Methods inherited from class org.jacoco.report.html.ReportPage |
---|
getLink, renderDocument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jacoco.report.html.ILinkable |
---|
getLink |
Constructor Detail |
---|
public PackagePage(ICoverageNode node, ReportPage parent, ReportOutputFolder folder, IHTMLReportContext context)
node
- parent
- folder
- context
- Method Detail |
---|
public IReportVisitor visitChild(ICoverageNode node)
IReportVisitor
node
- Node for the child in the implementation class specific to
this type. The counters are may yet be populated.
public void visitEnd(ISourceFileLocator sourceFileLocator) throws IOException
IReportVisitor
visitEnd
in interface IReportVisitor
visitEnd
in class NodePage
sourceFileLocator
- source file locator valid for this node
IOException
- in case of IO problems with the report writerprotected void headExtra(HTMLElement head) throws IOException
ReportPage
headExtra
in class ReportPage
head
- enclosing head element
IOException
- in case of IO problems with the report writerprotected String getOnload()
ReportPage
getOnload
in class ReportPage
null
protected void content(HTMLElement body) throws IOException
ReportPage
content
in class ReportPage
body
- body tag of the page
IOException
- in case of IO problems with the report writerprotected String getFileName()
ReportPage
getFileName
in class ReportPage
public String getLinkLabel()
ILinkable
getLinkLabel
in interface ILinkable
getLinkLabel
in class NodePage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |