public class HtmlTestDocsGenerator extends AbstractTestDocsGenerator
| Constructor and Description |
|---|
HtmlTestDocsGenerator()
Default constructor with test doc template name.
|
| Modifier and Type | Method and Description |
|---|---|
static HtmlTestDocsGenerator |
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) |
HtmlTestDocsGenerator |
useSrcDirectory(String testDir)
Adds a custom test source directory.
|
HtmlTestDocsGenerator |
withColumns(String columns)
Adds a column configuration.
|
HtmlTestDocsGenerator |
withLogo(String logoFilePath)
Adds a custom logo file path.
|
HtmlTestDocsGenerator |
withOutputFile(String filename)
Adds a custom output file.
|
HtmlTestDocsGenerator |
withOverviewTitle(String overvieTitle)
Adds a custom overview title.
|
HtmlTestDocsGenerator |
withPageTitle(String pageTitle)
Adds a custom page title.
|
generateDoc, getSrcDirectorypublic HtmlTestDocsGenerator()
public void doHeader(OutputStream buffered) throws TransformerException, IOException, SAXException
AbstractTestDocsGeneratordoHeader in class AbstractTestDocsGeneratorTransformerExceptionIOExceptionSAXExceptionpublic void doBody(OutputStream buffered) throws TransformerException, IOException, SAXException
AbstractTestDocsGeneratordoBody in class AbstractTestDocsGeneratorTransformerExceptionIOExceptionSAXExceptionpublic static HtmlTestDocsGenerator build()
public HtmlTestDocsGenerator withOutputFile(String filename)
filename - the output file name.public HtmlTestDocsGenerator withPageTitle(String pageTitle)
pageTitle - the page title.public HtmlTestDocsGenerator withOverviewTitle(String overvieTitle)
overvieTitle - the title.public HtmlTestDocsGenerator withColumns(String columns)
columns - the column names.public HtmlTestDocsGenerator withLogo(String logoFilePath)
logoFilePath - the file path.public HtmlTestDocsGenerator useSrcDirectory(String testDir)
testDir - the test source directory.public static void main(String[] args)
args - protected Properties getTestDocProperties()
AbstractTestDocsGeneratorgetTestDocProperties in class AbstractTestDocsGeneratorpublic void setPageTitle(String pageTitle)
pageTitle - the pageTitle to setpublic String getPageTitle()
Copyright © 2008–2018 ConSol Software GmbH. All rights reserved.