public class TestDefToHtmlFilter extends AbstractFilter
filter that transforms a system test definition document
into an HTML report.| Constructor and Description |
|---|
TestDefToHtmlFilter()
Creates a new TestDefToHtmlFilter, using the default CSS stylesheet.
|
TestDefToHtmlFilter(URI stylesheet,
URI script)
Creates a new TestDefToHtmlFilter, using the given CSS stylesheet and JavaScript resources.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyFilter()
Reads data to be transformed from the
filter input stream and
write transformed data to the filter output stream. |
URI |
getScript()
Returns the reference to the JavaScript resource used by this filter.
|
URI |
getStylesheet()
Returns the reference to the CSS stylesheet used by this filter.
|
boolean |
isDefaultStyle()
Returns if this filter uses the default CSS stylesheet.
|
void |
setDefaultStyle(boolean defaultStyle)
Changes if this filter uses the default CSS stylesheet.
|
void |
setScript(URI script)
Changes the reference to the JavaScript resource used by this filter.
|
void |
setStylesheet(URI stylesheet)
Changes the reference to the CSS stylesheet used by this filter.
|
String |
toString() |
close, getFilterInput, getFilterOutput, getSource, getTarget, initializeFilter, run, setTarget, setTargetpublic TestDefToHtmlFilter()
public void setDefaultStyle(boolean defaultStyle)
public boolean isDefaultStyle()
public void setStylesheet(URI stylesheet)
public URI getStylesheet()
public void setScript(URI script)
public URI getScript()
protected void applyFilter()
throws Exception
filter input stream and
write transformed data to the filter output stream.applyFilter in class AbstractFilterExceptionCopyright © 2025 The Cornutum Project. All rights reserved.