public class HtmlTestDocGenerator extends AbstractTestDocGenerator
log, outputFile, srcDirectory, testDocTemplate| Constructor and Description |
|---|
HtmlTestDocGenerator()
Default constructor with test doc template name.
|
| Modifier and Type | Method and Description |
|---|---|
static HtmlTestDocGenerator |
build()
Builds a new test doc generator.
|
void |
doBody(OutputStream buffered)
Generates the test documentation.
|
void |
doHeader(OutputStream buffered)
Generates the test documentation.
|
String |
getPageTitle() |
protected Properties |
getTestDocProperties()
Gets the test doc properties.
|
static void |
main(String[] args)
Executable application cli.
|
void |
setPageTitle(String pageTitle) |
HtmlTestDocGenerator |
useSrcDirectory(String testDir)
Adds a custom test source directory.
|
HtmlTestDocGenerator |
withColumns(String columns)
Adds a column configuration.
|
HtmlTestDocGenerator |
withLogo(String logoFilePath)
Adds a custom logo file path.
|
HtmlTestDocGenerator |
withOutputFile(String filename)
Adds a custom output file.
|
HtmlTestDocGenerator |
withOverviewTitle(String overvieTitle)
Adds a custom overview title.
|
HtmlTestDocGenerator |
withPageTitle(String pageTitle)
Adds a custom page title.
|
generateDoc, getDocumentBuilder, getFileOutputStream, getOutputDirectory, getOutputFile, getSrcDirectory, getTestFiles, getTransformer, setOutputFile, setSrcDirectorypublic HtmlTestDocGenerator()
public void doHeader(OutputStream buffered) throws TransformerException, IOException, SAXException
AbstractTestDocGeneratordoHeader in class AbstractTestDocGeneratorTransformerExceptionIOExceptionSAXExceptionpublic void doBody(OutputStream buffered) throws TransformerException, IOException, SAXException
AbstractTestDocGeneratordoBody in class AbstractTestDocGeneratorTransformerExceptionIOExceptionSAXExceptionpublic static HtmlTestDocGenerator build()
public HtmlTestDocGenerator withOutputFile(String filename)
filename - the output file name.public HtmlTestDocGenerator withPageTitle(String pageTitle)
pageTitle - the page title.public HtmlTestDocGenerator withOverviewTitle(String overvieTitle)
overvieTitle - the title.public HtmlTestDocGenerator withColumns(String columns)
columns - the column names.public HtmlTestDocGenerator withLogo(String logoFilePath)
logoFilePath - the file path.public HtmlTestDocGenerator useSrcDirectory(String testDir)
testDir - the test source directory.public static void main(String[] args)
args - protected Properties getTestDocProperties()
AbstractTestDocGeneratorgetTestDocProperties in class AbstractTestDocGeneratorpublic void setPageTitle(String pageTitle)
pageTitle - the pageTitle to setpublic String getPageTitle()
Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.