com.jcoverage.coverage.reporting.html
Class MultiViewStaticHtmlFormat
java.lang.Object
com.jcoverage.coverage.reporting.html.MultiViewStaticHtmlFormat
- All Implemented Interfaces:
- Format
- public class MultiViewStaticHtmlFormat
- extends java.lang.Object
- implements Format
This class provides the generation of coverage reports in static
html. Multiple views are defined by this class, and used to
generate each page. Each view corresponds to a different line
ordering, so that lines can be generated in alphabetical order, or
by ascending or descending coverage.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
static org.apache.log4j.Logger logger
ALPHABETICAL_VIEW
public static final View ALPHABETICAL_VIEW
COVERAGE_ASCENDING_VIEW
public static final View COVERAGE_ASCENDING_VIEW
COVERAGE_DESCENDING_VIEW
public static final View COVERAGE_DESCENDING_VIEW
ALL_VIEWS
public static final View[] ALL_VIEWS
MultiViewStaticHtmlFormat
public MultiViewStaticHtmlFormat()
formatPage
public void formatPage(ViewFormattingContext ctx,
Page page)
throws ReportingException
- Specified by:
formatPage
in interface Format
- Throws:
ReportingException
formatPage
public void formatPage(FormattingContext ctx,
Page page)
throws ReportingException
- Implementation proxy. This implementation delegates to another
formatPage implementation depending on the page.
- Specified by:
formatPage
in interface Format
- Throws:
ReportingException
- if the page is not recognized.