org.apache.tools.ant.taskdefs.optional.junit
public class AggregateTransformer extends Object
Nested Class Summary | |
---|---|
static class | AggregateTransformer.Format |
Field Summary | |
---|---|
protected static DocumentBuilderFactory | dbfactory XML Parser factory accessible to subclasses |
protected Document | document the xml document to process |
protected String | format the format to use for the report. |
static String | FRAMES |
static String | NOFRAMES |
protected File | styleDir the style directory. |
protected Task | task Task |
protected File | toDir the destination directory, this is the root from where html should be generated |
Constructor Summary | |
---|---|
AggregateTransformer(Task task) |
Method Summary | |
---|---|
protected void | checkOptions() check for invalid options |
protected static DocumentBuilderFactory | getDocumentBuilderFactory()
Get the Document Builder Factory
|
protected String | getStylesheetSystemId()
Get the systemid of the appropriate stylesheet based on its
name and styledir. |
void | setExtension(String ext) set the extension of the output files |
void | setFormat(AggregateTransformer.Format format) |
void | setStyledir(File styledir)
set the style directory. |
void | setTodir(File todir) set the destination directory |
void | setXmlDocument(Document doc) |
protected void | setXmlfile(File xmlfile)
Set the xml file to be processed. |
void | transform() |
Returns: the DocumentBuilderFactory instance in use
Throws: IOException thrown if the requested stylesheet does not exist.
Parameters: styledir the directory containing the xsl files if the user would like to override with its own style.
Parameters: xmlfile xml file to be processed