[14982] | 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 | Enumerations (Apache Ant API)
|
---|
| 8 | </TITLE>
|
---|
| 9 |
|
---|
| 10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.junit.Enumerations 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="Enumerations (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 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.NodeListImpl.html" title="class in org.apache.tools.ant.taskdefs.optional.junit"><B>PREV CLASS</B></A>
|
---|
| 53 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/FormatterElement.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="Enumerations.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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 74 | DETAIL: FIELD | CONSTR | <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 Enumerations</H2>
|
---|
| 87 | <PRE>
|
---|
| 88 | java.lang.Object
|
---|
| 89 | <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.junit.Enumerations</B>
|
---|
| 90 | </PRE>
|
---|
| 91 | <HR>
|
---|
| 92 | <DL>
|
---|
| 93 | <DT>public final class <B>Enumerations</B><DT>extends java.lang.Object</DL>
|
---|
| 94 |
|
---|
| 95 | <P>
|
---|
| 96 | A couple of methods related to enumerations that might be useful.
|
---|
| 97 | This class should probably disappear once the required JDK is set to 1.2
|
---|
| 98 | instead of 1.1.
|
---|
| 99 | <P>
|
---|
| 100 |
|
---|
| 101 | <P>
|
---|
| 102 | <HR>
|
---|
| 103 |
|
---|
| 104 | <P>
|
---|
| 105 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
| 106 |
|
---|
| 107 |
|
---|
| 108 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
| 109 |
|
---|
| 110 |
|
---|
| 111 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
| 112 |
|
---|
| 113 |
|
---|
| 114 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
| 115 |
|
---|
| 116 | <A NAME="method_summary"><!-- --></A>
|
---|
| 117 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 118 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 119 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 120 | <B>Method Summary</B></FONT></TD>
|
---|
| 121 | </TR>
|
---|
| 122 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 123 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 124 | <CODE>static java.util.Enumeration</CODE></FONT></TD>
|
---|
| 125 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/Enumerations.html#fromArray(java.lang.Object[])">fromArray</A></B>(java.lang.Object[] array)</CODE>
|
---|
| 126 |
|
---|
| 127 | <BR>
|
---|
| 128 | creates an enumeration from an array of objects.</TD>
|
---|
| 129 | </TR>
|
---|
| 130 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 131 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 132 | <CODE>static java.util.Enumeration</CODE></FONT></TD>
|
---|
| 133 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/Enumerations.html#fromCompound(java.util.Enumeration[])">fromCompound</A></B>(java.util.Enumeration[] enums)</CODE>
|
---|
| 134 |
|
---|
| 135 | <BR>
|
---|
| 136 | creates an enumeration from an array of enumeration.</TD>
|
---|
| 137 | </TR>
|
---|
| 138 | </TABLE>
|
---|
| 139 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
| 140 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 141 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 142 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
| 143 | </TR>
|
---|
| 144 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 145 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
| 146 | </TR>
|
---|
| 147 | </TABLE>
|
---|
| 148 |
|
---|
| 149 | <P>
|
---|
| 150 |
|
---|
| 151 | <!-- ============ FIELD DETAIL =========== -->
|
---|
| 152 |
|
---|
| 153 |
|
---|
| 154 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
| 155 |
|
---|
| 156 |
|
---|
| 157 | <!-- ============ METHOD DETAIL ========== -->
|
---|
| 158 |
|
---|
| 159 | <A NAME="method_detail"><!-- --></A>
|
---|
| 160 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 161 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 162 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 163 | <B>Method Detail</B></FONT></TD>
|
---|
| 164 | </TR>
|
---|
| 165 | </TABLE>
|
---|
| 166 |
|
---|
| 167 | <A NAME="fromArray(java.lang.Object[])"><!-- --></A><H3>
|
---|
| 168 | fromArray</H3>
|
---|
| 169 | <PRE>
|
---|
| 170 | public static java.util.Enumeration <B>fromArray</B>(java.lang.Object[] array)</PRE>
|
---|
| 171 | <DL>
|
---|
| 172 | <DD>creates an enumeration from an array of objects.
|
---|
| 173 | <P>
|
---|
| 174 | <DD><DL>
|
---|
| 175 | <DT><B>Parameters:</B><DD><CODE>array</CODE> - the array of object to enumerate.
|
---|
| 176 | <DT><B>Returns:</B><DD>the enumeration over the array of objects.</DL>
|
---|
| 177 | </DD>
|
---|
| 178 | </DL>
|
---|
| 179 | <HR>
|
---|
| 180 |
|
---|
| 181 | <A NAME="fromCompound(java.util.Enumeration[])"><!-- --></A><H3>
|
---|
| 182 | fromCompound</H3>
|
---|
| 183 | <PRE>
|
---|
| 184 | public static java.util.Enumeration <B>fromCompound</B>(java.util.Enumeration[] enums)</PRE>
|
---|
| 185 | <DL>
|
---|
| 186 | <DD>creates an enumeration from an array of enumeration. The created enumeration
|
---|
| 187 | will sequentially enumerate over all elements of each enumeration and skip
|
---|
| 188 | <tt>null</tt> enumeration elements in the array.
|
---|
| 189 | <P>
|
---|
| 190 | <DD><DL>
|
---|
| 191 | <DT><B>Parameters:</B><DD><CODE>enums</CODE> - the array of enumerations.
|
---|
| 192 | <DT><B>Returns:</B><DD>the enumeration over the array of enumerations.</DL>
|
---|
| 193 | </DD>
|
---|
| 194 | </DL>
|
---|
| 195 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
| 196 | <HR>
|
---|
| 197 |
|
---|
| 198 |
|
---|
| 199 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
| 200 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
| 201 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
| 202 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 203 | <TR>
|
---|
| 204 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 205 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
| 206 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 207 | <TR ALIGN="center" VALIGN="top">
|
---|
| 208 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 209 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 210 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 211 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 212 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 213 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 214 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 215 | </TR>
|
---|
| 216 | </TABLE>
|
---|
| 217 | </TD>
|
---|
| 218 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 219 | </EM>
|
---|
| 220 | </TD>
|
---|
| 221 | </TR>
|
---|
| 222 |
|
---|
| 223 | <TR>
|
---|
| 224 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 225 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.NodeListImpl.html" title="class in org.apache.tools.ant.taskdefs.optional.junit"><B>PREV CLASS</B></A>
|
---|
| 226 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/junit/FormatterElement.html" title="class in org.apache.tools.ant.taskdefs.optional.junit"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 227 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 228 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 229 | <A HREF="Enumerations.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 230 | <SCRIPT type="text/javascript">
|
---|
| 231 | <!--
|
---|
| 232 | if(window==top) {
|
---|
| 233 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 234 | }
|
---|
| 235 | //-->
|
---|
| 236 | </SCRIPT>
|
---|
| 237 | <NOSCRIPT>
|
---|
| 238 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 239 | </NOSCRIPT>
|
---|
| 240 |
|
---|
| 241 | </FONT></TD>
|
---|
| 242 | </TR>
|
---|
| 243 | <TR>
|
---|
| 244 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 245 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 246 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 247 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 248 | </TR>
|
---|
| 249 | </TABLE>
|
---|
| 250 | <A NAME="skip-navbar_bottom"></A>
|
---|
| 251 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
| 252 |
|
---|
| 253 | <HR>
|
---|
| 254 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
| 255 | </BODY>
|
---|
| 256 | </HTML>
|
---|