1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
2 | <!--NewPage-->
|
---|
3 | <HTML>
|
---|
4 | <HEAD>
|
---|
5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:28 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | AggregateTransformer (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer class">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="AggregateTransformer (Apache Ant API)";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 |
|
---|
21 | </HEAD>
|
---|
22 |
|
---|
23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
27 | <A NAME="navbar_top"><!-- --></A>
|
---|
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
30 | <TR>
|
---|
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
34 | <TR ALIGN="center" VALIGN="top">
|
---|
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | PREV CLASS
|
---|
53 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.Format.html" title="class in org.apache.tools.ant.taskdefs.optional.junit"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
55 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
56 | <A HREF="AggregateTransformer.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant.taskdefs.optional.junit</FONT>
|
---|
85 | <BR>
|
---|
86 | Class AggregateTransformer</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer</B>
|
---|
90 | </PRE>
|
---|
91 | <HR>
|
---|
92 | <DL>
|
---|
93 | <DT>public class <B>AggregateTransformer</B><DT>extends java.lang.Object</DL>
|
---|
94 |
|
---|
95 | <P>
|
---|
96 | Transform a JUnit xml report.
|
---|
97 | The default transformation generates an html report in either framed or non-framed
|
---|
98 | style. The non-framed style is convenient to have a concise report via mail, the
|
---|
99 | framed report is much more convenient if you want to browse into different
|
---|
100 | packages or testcases since it is a Javadoc like report.
|
---|
101 | <P>
|
---|
102 |
|
---|
103 | <P>
|
---|
104 | <HR>
|
---|
105 |
|
---|
106 | <P>
|
---|
107 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
108 |
|
---|
109 | <A NAME="nested_class_summary"><!-- --></A>
|
---|
110 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
111 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
112 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
113 | <B>Nested Class Summary</B></FONT></TD>
|
---|
114 | </TR>
|
---|
115 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
116 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
117 | <CODE>static class</CODE></FONT></TD>
|
---|
118 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.Format.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">AggregateTransformer.Format</A></B></CODE>
|
---|
119 |
|
---|
120 | <BR>
|
---|
121 | </TD>
|
---|
122 | </TR>
|
---|
123 | </TABLE>
|
---|
124 |
|
---|
125 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
126 |
|
---|
127 | <A NAME="field_summary"><!-- --></A>
|
---|
128 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
129 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
130 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
131 | <B>Field Summary</B></FONT></TD>
|
---|
132 | </TR>
|
---|
133 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
134 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
135 | <CODE>protected static javax.xml.parsers.DocumentBuilderFactory</CODE></FONT></TD>
|
---|
136 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#dbfactory">dbfactory</A></B></CODE>
|
---|
137 |
|
---|
138 | <BR>
|
---|
139 | XML Parser factory accessible to subclasses</TD>
|
---|
140 | </TR>
|
---|
141 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
142 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
143 | <CODE>protected org.w3c.dom.Document</CODE></FONT></TD>
|
---|
144 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#document">document</A></B></CODE>
|
---|
145 |
|
---|
146 | <BR>
|
---|
147 | the xml document to process</TD>
|
---|
148 | </TR>
|
---|
149 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
150 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
151 | <CODE>protected java.lang.String</CODE></FONT></TD>
|
---|
152 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#format">format</A></B></CODE>
|
---|
153 |
|
---|
154 | <BR>
|
---|
155 | the format to use for the report.</TD>
|
---|
156 | </TR>
|
---|
157 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
158 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
159 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
160 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#FRAMES">FRAMES</A></B></CODE>
|
---|
161 |
|
---|
162 | <BR>
|
---|
163 | </TD>
|
---|
164 | </TR>
|
---|
165 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
166 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
167 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
168 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#NOFRAMES">NOFRAMES</A></B></CODE>
|
---|
169 |
|
---|
170 | <BR>
|
---|
171 | </TD>
|
---|
172 | </TR>
|
---|
173 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
175 | <CODE>protected java.io.File</CODE></FONT></TD>
|
---|
176 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#styleDir">styleDir</A></B></CODE>
|
---|
177 |
|
---|
178 | <BR>
|
---|
179 | the style directory.</TD>
|
---|
180 | </TR>
|
---|
181 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
182 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
183 | <CODE>protected <A HREF="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></FONT></TD>
|
---|
184 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#task">task</A></B></CODE>
|
---|
185 |
|
---|
186 | <BR>
|
---|
187 | Task</TD>
|
---|
188 | </TR>
|
---|
189 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
191 | <CODE>protected java.io.File</CODE></FONT></TD>
|
---|
192 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#toDir">toDir</A></B></CODE>
|
---|
193 |
|
---|
194 | <BR>
|
---|
195 | the destination directory, this is the root from where html should be generated</TD>
|
---|
196 | </TR>
|
---|
197 | </TABLE>
|
---|
198 |
|
---|
199 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
200 |
|
---|
201 | <A NAME="constructor_summary"><!-- --></A>
|
---|
202 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
203 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
204 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
205 | <B>Constructor Summary</B></FONT></TD>
|
---|
206 | </TR>
|
---|
207 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
208 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#AggregateTransformer(org.apache.tools.ant.Task)">AggregateTransformer</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> task)</CODE>
|
---|
209 |
|
---|
210 | <BR>
|
---|
211 | </TD>
|
---|
212 | </TR>
|
---|
213 | </TABLE>
|
---|
214 |
|
---|
215 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
216 |
|
---|
217 | <A NAME="method_summary"><!-- --></A>
|
---|
218 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
219 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
220 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
221 | <B>Method Summary</B></FONT></TD>
|
---|
222 | </TR>
|
---|
223 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
224 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
225 | <CODE>protected void</CODE></FONT></TD>
|
---|
226 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#checkOptions()">checkOptions</A></B>()</CODE>
|
---|
227 |
|
---|
228 | <BR>
|
---|
229 | check for invalid options</TD>
|
---|
230 | </TR>
|
---|
231 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
232 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
233 | <CODE>protected static javax.xml.parsers.DocumentBuilderFactory</CODE></FONT></TD>
|
---|
234 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#getDocumentBuilderFactory()">getDocumentBuilderFactory</A></B>()</CODE>
|
---|
235 |
|
---|
236 | <BR>
|
---|
237 | Get the Document Builder Factory</TD>
|
---|
238 | </TR>
|
---|
239 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
240 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
241 | <CODE>protected java.lang.String</CODE></FONT></TD>
|
---|
242 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#getStylesheetSystemId()">getStylesheetSystemId</A></B>()</CODE>
|
---|
243 |
|
---|
244 | <BR>
|
---|
245 | Get the systemid of the appropriate stylesheet based on its
|
---|
246 | name and styledir.</TD>
|
---|
247 | </TR>
|
---|
248 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
249 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
250 | <CODE> void</CODE></FONT></TD>
|
---|
251 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#setExtension(java.lang.String)">setExtension</A></B>(java.lang.String ext)</CODE>
|
---|
252 |
|
---|
253 | <BR>
|
---|
254 | set the extension of the output files</TD>
|
---|
255 | </TR>
|
---|
256 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
257 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
258 | <CODE> void</CODE></FONT></TD>
|
---|
259 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#setFormat(org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.Format)">setFormat</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.Format.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">AggregateTransformer.Format</A> format)</CODE>
|
---|
260 |
|
---|
261 | <BR>
|
---|
262 | </TD>
|
---|
263 | </TR>
|
---|
264 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
265 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
266 | <CODE> void</CODE></FONT></TD>
|
---|
267 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#setStyledir(java.io.File)">setStyledir</A></B>(java.io.File styledir)</CODE>
|
---|
268 |
|
---|
269 | <BR>
|
---|
270 | set the style directory.</TD>
|
---|
271 | </TR>
|
---|
272 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
273 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
274 | <CODE> void</CODE></FONT></TD>
|
---|
275 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#setTodir(java.io.File)">setTodir</A></B>(java.io.File todir)</CODE>
|
---|
276 |
|
---|
277 | <BR>
|
---|
278 | set the destination directory</TD>
|
---|
279 | </TR>
|
---|
280 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
281 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
282 | <CODE> void</CODE></FONT></TD>
|
---|
283 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#setXmlDocument(org.w3c.dom.Document)">setXmlDocument</A></B>(org.w3c.dom.Document doc)</CODE>
|
---|
284 |
|
---|
285 | <BR>
|
---|
286 | </TD>
|
---|
287 | </TR>
|
---|
288 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
289 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
290 | <CODE>protected void</CODE></FONT></TD>
|
---|
291 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#setXmlfile(java.io.File)">setXmlfile</A></B>(java.io.File xmlfile)</CODE>
|
---|
292 |
|
---|
293 | <BR>
|
---|
294 | Set the xml file to be processed.</TD>
|
---|
295 | </TR>
|
---|
296 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
297 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
298 | <CODE> void</CODE></FONT></TD>
|
---|
299 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.html#transform()">transform</A></B>()</CODE>
|
---|
300 |
|
---|
301 | <BR>
|
---|
302 | </TD>
|
---|
303 | </TR>
|
---|
304 | </TABLE>
|
---|
305 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
306 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
307 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
308 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
309 | </TR>
|
---|
310 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
311 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
312 | </TR>
|
---|
313 | </TABLE>
|
---|
314 |
|
---|
315 | <P>
|
---|
316 |
|
---|
317 | <!-- ============ FIELD DETAIL =========== -->
|
---|
318 |
|
---|
319 | <A NAME="field_detail"><!-- --></A>
|
---|
320 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
321 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
322 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
323 | <B>Field Detail</B></FONT></TD>
|
---|
324 | </TR>
|
---|
325 | </TABLE>
|
---|
326 |
|
---|
327 | <A NAME="FRAMES"><!-- --></A><H3>
|
---|
328 | FRAMES</H3>
|
---|
329 | <PRE>
|
---|
330 | public static final java.lang.String <B>FRAMES</B></PRE>
|
---|
331 | <DL>
|
---|
332 | <DL>
|
---|
333 | <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.FRAMES">Constant Field Values</A></DL>
|
---|
334 | </DL>
|
---|
335 | <HR>
|
---|
336 |
|
---|
337 | <A NAME="NOFRAMES"><!-- --></A><H3>
|
---|
338 | NOFRAMES</H3>
|
---|
339 | <PRE>
|
---|
340 | public static final java.lang.String <B>NOFRAMES</B></PRE>
|
---|
341 | <DL>
|
---|
342 | <DL>
|
---|
343 | <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.NOFRAMES">Constant Field Values</A></DL>
|
---|
344 | </DL>
|
---|
345 | <HR>
|
---|
346 |
|
---|
347 | <A NAME="task"><!-- --></A><H3>
|
---|
348 | task</H3>
|
---|
349 | <PRE>
|
---|
350 | protected <A HREF="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> <B>task</B></PRE>
|
---|
351 | <DL>
|
---|
352 | <DD>Task
|
---|
353 | <P>
|
---|
354 | <DL>
|
---|
355 | </DL>
|
---|
356 | </DL>
|
---|
357 | <HR>
|
---|
358 |
|
---|
359 | <A NAME="document"><!-- --></A><H3>
|
---|
360 | document</H3>
|
---|
361 | <PRE>
|
---|
362 | protected org.w3c.dom.Document <B>document</B></PRE>
|
---|
363 | <DL>
|
---|
364 | <DD>the xml document to process
|
---|
365 | <P>
|
---|
366 | <DL>
|
---|
367 | </DL>
|
---|
368 | </DL>
|
---|
369 | <HR>
|
---|
370 |
|
---|
371 | <A NAME="styleDir"><!-- --></A><H3>
|
---|
372 | styleDir</H3>
|
---|
373 | <PRE>
|
---|
374 | protected java.io.File <B>styleDir</B></PRE>
|
---|
375 | <DL>
|
---|
376 | <DD>the style directory. XSLs should be read from here if necessary
|
---|
377 | <P>
|
---|
378 | <DL>
|
---|
379 | </DL>
|
---|
380 | </DL>
|
---|
381 | <HR>
|
---|
382 |
|
---|
383 | <A NAME="toDir"><!-- --></A><H3>
|
---|
384 | toDir</H3>
|
---|
385 | <PRE>
|
---|
386 | protected java.io.File <B>toDir</B></PRE>
|
---|
387 | <DL>
|
---|
388 | <DD>the destination directory, this is the root from where html should be generated
|
---|
389 | <P>
|
---|
390 | <DL>
|
---|
391 | </DL>
|
---|
392 | </DL>
|
---|
393 | <HR>
|
---|
394 |
|
---|
395 | <A NAME="format"><!-- --></A><H3>
|
---|
396 | format</H3>
|
---|
397 | <PRE>
|
---|
398 | protected java.lang.String <B>format</B></PRE>
|
---|
399 | <DL>
|
---|
400 | <DD>the format to use for the report. Must be <tt>FRAMES</tt> or <tt>NOFRAMES</tt>
|
---|
401 | <P>
|
---|
402 | <DL>
|
---|
403 | </DL>
|
---|
404 | </DL>
|
---|
405 | <HR>
|
---|
406 |
|
---|
407 | <A NAME="dbfactory"><!-- --></A><H3>
|
---|
408 | dbfactory</H3>
|
---|
409 | <PRE>
|
---|
410 | protected static javax.xml.parsers.DocumentBuilderFactory <B>dbfactory</B></PRE>
|
---|
411 | <DL>
|
---|
412 | <DD>XML Parser factory accessible to subclasses
|
---|
413 | <P>
|
---|
414 | <DL>
|
---|
415 | </DL>
|
---|
416 | </DL>
|
---|
417 |
|
---|
418 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
419 |
|
---|
420 | <A NAME="constructor_detail"><!-- --></A>
|
---|
421 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
422 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
423 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
424 | <B>Constructor Detail</B></FONT></TD>
|
---|
425 | </TR>
|
---|
426 | </TABLE>
|
---|
427 |
|
---|
428 | <A NAME="AggregateTransformer(org.apache.tools.ant.Task)"><!-- --></A><H3>
|
---|
429 | AggregateTransformer</H3>
|
---|
430 | <PRE>
|
---|
431 | public <B>AggregateTransformer</B>(<A HREF="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> task)</PRE>
|
---|
432 | <DL>
|
---|
433 | </DL>
|
---|
434 |
|
---|
435 | <!-- ============ METHOD DETAIL ========== -->
|
---|
436 |
|
---|
437 | <A NAME="method_detail"><!-- --></A>
|
---|
438 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
439 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
440 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
441 | <B>Method Detail</B></FONT></TD>
|
---|
442 | </TR>
|
---|
443 | </TABLE>
|
---|
444 |
|
---|
445 | <A NAME="getDocumentBuilderFactory()"><!-- --></A><H3>
|
---|
446 | getDocumentBuilderFactory</H3>
|
---|
447 | <PRE>
|
---|
448 | protected static javax.xml.parsers.DocumentBuilderFactory <B>getDocumentBuilderFactory</B>()</PRE>
|
---|
449 | <DL>
|
---|
450 | <DD>Get the Document Builder Factory
|
---|
451 | <P>
|
---|
452 | <DD><DL>
|
---|
453 |
|
---|
454 | <DT><B>Returns:</B><DD>the DocumentBuilderFactory instance in use</DL>
|
---|
455 | </DD>
|
---|
456 | </DL>
|
---|
457 | <HR>
|
---|
458 |
|
---|
459 | <A NAME="setFormat(org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.Format)"><!-- --></A><H3>
|
---|
460 | setFormat</H3>
|
---|
461 | <PRE>
|
---|
462 | public void <B>setFormat</B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.Format.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">AggregateTransformer.Format</A> format)</PRE>
|
---|
463 | <DL>
|
---|
464 | <DD><DL>
|
---|
465 | </DL>
|
---|
466 | </DD>
|
---|
467 | </DL>
|
---|
468 | <HR>
|
---|
469 |
|
---|
470 | <A NAME="setXmlDocument(org.w3c.dom.Document)"><!-- --></A><H3>
|
---|
471 | setXmlDocument</H3>
|
---|
472 | <PRE>
|
---|
473 | public void <B>setXmlDocument</B>(org.w3c.dom.Document doc)</PRE>
|
---|
474 | <DL>
|
---|
475 | <DD><DL>
|
---|
476 | </DL>
|
---|
477 | </DD>
|
---|
478 | </DL>
|
---|
479 | <HR>
|
---|
480 |
|
---|
481 | <A NAME="setXmlfile(java.io.File)"><!-- --></A><H3>
|
---|
482 | setXmlfile</H3>
|
---|
483 | <PRE>
|
---|
484 | protected void <B>setXmlfile</B>(java.io.File xmlfile)
|
---|
485 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
486 | <DL>
|
---|
487 | <DD>Set the xml file to be processed. This is a helper if you want
|
---|
488 | to set the file directly. Much more for testing purposes.
|
---|
489 | <P>
|
---|
490 | <DD><DL>
|
---|
491 | <DT><B>Parameters:</B><DD><CODE>xmlfile</CODE> - xml file to be processed
|
---|
492 | <DT><B>Throws:</B>
|
---|
493 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
494 | </DD>
|
---|
495 | </DL>
|
---|
496 | <HR>
|
---|
497 |
|
---|
498 | <A NAME="setStyledir(java.io.File)"><!-- --></A><H3>
|
---|
499 | setStyledir</H3>
|
---|
500 | <PRE>
|
---|
501 | public void <B>setStyledir</B>(java.io.File styledir)</PRE>
|
---|
502 | <DL>
|
---|
503 | <DD>set the style directory. It is optional and will override the
|
---|
504 | default xsl used.
|
---|
505 | <P>
|
---|
506 | <DD><DL>
|
---|
507 | <DT><B>Parameters:</B><DD><CODE>styledir</CODE> - the directory containing the xsl files if the user
|
---|
508 | would like to override with its own style.</DL>
|
---|
509 | </DD>
|
---|
510 | </DL>
|
---|
511 | <HR>
|
---|
512 |
|
---|
513 | <A NAME="setTodir(java.io.File)"><!-- --></A><H3>
|
---|
514 | setTodir</H3>
|
---|
515 | <PRE>
|
---|
516 | public void <B>setTodir</B>(java.io.File todir)</PRE>
|
---|
517 | <DL>
|
---|
518 | <DD>set the destination directory
|
---|
519 | <P>
|
---|
520 | <DD><DL>
|
---|
521 | </DL>
|
---|
522 | </DD>
|
---|
523 | </DL>
|
---|
524 | <HR>
|
---|
525 |
|
---|
526 | <A NAME="setExtension(java.lang.String)"><!-- --></A><H3>
|
---|
527 | setExtension</H3>
|
---|
528 | <PRE>
|
---|
529 | public void <B>setExtension</B>(java.lang.String ext)</PRE>
|
---|
530 | <DL>
|
---|
531 | <DD>set the extension of the output files
|
---|
532 | <P>
|
---|
533 | <DD><DL>
|
---|
534 | </DL>
|
---|
535 | </DD>
|
---|
536 | </DL>
|
---|
537 | <HR>
|
---|
538 |
|
---|
539 | <A NAME="transform()"><!-- --></A><H3>
|
---|
540 | transform</H3>
|
---|
541 | <PRE>
|
---|
542 | public void <B>transform</B>()
|
---|
543 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
544 | <DL>
|
---|
545 | <DD><DL>
|
---|
546 |
|
---|
547 | <DT><B>Throws:</B>
|
---|
548 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
549 | </DD>
|
---|
550 | </DL>
|
---|
551 | <HR>
|
---|
552 |
|
---|
553 | <A NAME="checkOptions()"><!-- --></A><H3>
|
---|
554 | checkOptions</H3>
|
---|
555 | <PRE>
|
---|
556 | protected void <B>checkOptions</B>()
|
---|
557 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
558 | <DL>
|
---|
559 | <DD>check for invalid options
|
---|
560 | <P>
|
---|
561 | <DD><DL>
|
---|
562 |
|
---|
563 | <DT><B>Throws:</B>
|
---|
564 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
565 | </DD>
|
---|
566 | </DL>
|
---|
567 | <HR>
|
---|
568 |
|
---|
569 | <A NAME="getStylesheetSystemId()"><!-- --></A><H3>
|
---|
570 | getStylesheetSystemId</H3>
|
---|
571 | <PRE>
|
---|
572 | protected java.lang.String <B>getStylesheetSystemId</B>()
|
---|
573 | throws java.io.IOException</PRE>
|
---|
574 | <DL>
|
---|
575 | <DD>Get the systemid of the appropriate stylesheet based on its
|
---|
576 | name and styledir. If no styledir is defined it will load
|
---|
577 | it as a java resource in the xsl child package, otherwise it
|
---|
578 | will get it from the given directory.
|
---|
579 | <P>
|
---|
580 | <DD><DL>
|
---|
581 |
|
---|
582 | <DT><B>Throws:</B>
|
---|
583 | <DD><CODE>java.io.IOException</CODE> - thrown if the requested stylesheet does
|
---|
584 | not exist.</DL>
|
---|
585 | </DD>
|
---|
586 | </DL>
|
---|
587 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
588 | <HR>
|
---|
589 |
|
---|
590 |
|
---|
591 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
592 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
593 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
594 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
595 | <TR>
|
---|
596 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
597 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
598 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
599 | <TR ALIGN="center" VALIGN="top">
|
---|
600 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
601 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
602 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
603 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
604 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
605 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
606 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
607 | </TR>
|
---|
608 | </TABLE>
|
---|
609 | </TD>
|
---|
610 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
611 | </EM>
|
---|
612 | </TD>
|
---|
613 | </TR>
|
---|
614 |
|
---|
615 | <TR>
|
---|
616 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
617 | PREV CLASS
|
---|
618 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.Format.html" title="class in org.apache.tools.ant.taskdefs.optional.junit"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
619 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
620 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
621 | <A HREF="AggregateTransformer.html" target="_top"><B>NO FRAMES</B></A>
|
---|
622 | <SCRIPT type="text/javascript">
|
---|
623 | <!--
|
---|
624 | if(window==top) {
|
---|
625 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
626 | }
|
---|
627 | //-->
|
---|
628 | </SCRIPT>
|
---|
629 | <NOSCRIPT>
|
---|
630 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
631 | </NOSCRIPT>
|
---|
632 |
|
---|
633 | </FONT></TD>
|
---|
634 | </TR>
|
---|
635 | <TR>
|
---|
636 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
637 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
638 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
639 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
640 | </TR>
|
---|
641 | </TABLE>
|
---|
642 | <A NAME="skip-navbar_bottom"></A>
|
---|
643 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
644 |
|
---|
645 | <HR>
|
---|
646 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
647 | </BODY>
|
---|
648 | </HTML>
|
---|