net.sf.statcvs.pages

Class ReportSuiteMaker


public class ReportSuiteMaker
extends Object

TODO: Clean up
Version:
$Id: ReportSuiteMaker.java,v 1.5 2008/04/02 11:22:14 benoitx Exp $
Authors:
Anja Jentzsch
Benoit Xhenseval (OutputRenderer and ExtraReportRegister interfaces)

Field Summary

static String
BUG_ICON
static String
DELETED_DIRECTORY_ICON
static String
DELETED_FILE_ICON
static String
DIRECTORY_ICON
static String
FILE_ICON
static int
ICON_HEIGHT
static int
ICON_WIDTH
static String
WEB_FILE_PATH
Path to web distribution files inside the distribution JAR, relative to the Main class

Constructor Summary

ReportSuiteMaker(ReportConfig config, String notesHTML)
ReportSuiteMaker(ReportConfig config, String notesHTML, List additionalPages)

Method Summary

Page
toFile()
TODO: Don't throw exception
void
toXml()
this method will move away from the ordinary routine taken by statSVn and will invoke some new classes that are written to generate the xml's

Field Details

BUG_ICON

public static final String BUG_ICON

DELETED_DIRECTORY_ICON

public static final String DELETED_DIRECTORY_ICON

DELETED_FILE_ICON

public static final String DELETED_FILE_ICON

DIRECTORY_ICON

public static final String DIRECTORY_ICON

FILE_ICON

public static final String FILE_ICON

ICON_HEIGHT

public static final int ICON_HEIGHT
Field Value:
13

ICON_WIDTH

public static final int ICON_WIDTH
Field Value:
15

WEB_FILE_PATH

public static final String WEB_FILE_PATH

Constructor Details

ReportSuiteMaker

public ReportSuiteMaker(ReportConfig config,
                        String notesHTML)
Parameters:
config - Configuration and data for the report suite
notesHTML - A note to be inserted on top of the page; might be null

ReportSuiteMaker

public ReportSuiteMaker(ReportConfig config,
                        String notesHTML,
                        List additionalPages)
Parameters:
config - Configuration and data for the report suite
notesHTML - A note to be inserted on top of the page; might be null
additionalPages - A list of Pages for inclusion in the index page's main menu

Method Details

toFile

public Page toFile()
            throws IOException
TODO: Don't throw exception

toXml

public void toXml()
this method will move away from the ordinary routine taken by statSVn and will invoke some new classes that are written to generate the xml's