~ubuntu-branches/ubuntu/trusty/libstruts1.2-java/trusty-proposed

« back to all changes in this revision

Viewing changes to legacy/api-1.1/org/apache/struts/util/IteratorAdapter.html

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2004-11-19 15:35:25 UTC
  • Revision ID: james.westby@ubuntu.com-20041119153525-mdu08a76z4zo67xt
Tags: upstream-1.2.4
Import upstream version 1.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
 
2
<!--NewPage-->
 
3
<HTML>
 
4
<HEAD>
 
5
<!-- Generated by javadoc on Fri Aug 22 03:43:57 EDT 2003 -->
 
6
<TITLE>
 
7
IteratorAdapter (Apache Struts API Documentation)
 
8
</TITLE>
 
9
<META NAME="keywords" CONTENT="org.apache.struts.util.IteratorAdapter,IteratorAdapter class">
 
10
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
 
11
</HEAD>
 
12
<SCRIPT>
 
13
function asd()
 
14
{
 
15
parent.document.title="IteratorAdapter (Apache Struts API Documentation)";
 
16
}
 
17
</SCRIPT>
 
18
<BODY BGCOLOR="white" onload="asd();">
 
19
 
 
20
<!-- ========== START OF NAVBAR ========== -->
 
21
<A NAME="navbar_top"><!-- --></A>
 
22
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
 
23
<TR>
 
24
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
25
<A NAME="navbar_top_firstrow"><!-- --></A>
 
26
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
 
27
  <TR ALIGN="center" VALIGN="top">
 
28
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
29
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
30
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
31
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/IteratorAdapter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 
32
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
33
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
34
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
35
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
36
  </TR>
 
37
</TABLE>
 
38
</TD>
 
39
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
40
</EM>
 
41
</TD>
 
42
</TR>
 
43
 
 
44
<TR>
 
45
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
46
&nbsp;<A HREF="../../../../org/apache/struts/util/ImageButtonBean.html"><B>PREV CLASS</B></A>&nbsp;
 
47
&nbsp;<A HREF="../../../../org/apache/struts/util/LabelValueBean.html"><B>NEXT CLASS</B></A></FONT></TD>
 
48
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
49
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
 
50
&nbsp;<A HREF="IteratorAdapter.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
 
51
&nbsp;
 
52
<SCRIPT>
 
53
  <!--
 
54
  if(window==top) {
 
55
    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
 
56
  }
 
57
  //-->
 
58
</SCRIPT>
 
59
<NOSCRIPT>
 
60
<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
 
61
</NOSCRIPT>
 
62
</FONT></TD>
 
63
</TR>
 
64
<TR>
 
65
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
66
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
67
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
68
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
69
</TR>
 
70
</TABLE>
 
71
<!-- =========== END OF NAVBAR =========== -->
 
72
 
 
73
<HR>
 
74
<!-- ======== START OF CLASS DATA ======== -->
 
75
<H2>
 
76
<FONT SIZE="-1">
 
77
org.apache.struts.util</FONT>
 
78
<BR>
 
79
Class IteratorAdapter</H2>
 
80
<PRE>
 
81
java.lang.Object
 
82
  |
 
83
  +--<B>org.apache.struts.util.IteratorAdapter</B>
 
84
</PRE>
 
85
<DL>
 
86
<DT><B>All Implemented Interfaces:</B> <DD>java.util.Iterator</DD>
 
87
</DL>
 
88
<HR>
 
89
<B>Deprecated.</B>&nbsp;<I>Use commons-collections' IteratorUtils.asIterator(Enumeration).</I>
 
90
<P>
 
91
<DL>
 
92
<DT>public class <B>IteratorAdapter</B><DT>extends java.lang.Object<DT>implements java.util.Iterator</DL>
 
93
 
 
94
<P>
 
95
Utility method for converting Enumeration to an Iterator
 
96
 class.  If you attempt to remove() an Object from the iterator, it will
 
97
 throw an UnsupportedOperationException. Added for use by TagLib so
 
98
 Enumeration can be supported
 
99
<P>
 
100
 
 
101
<P>
 
102
<DL>
 
103
<DT><B>Version:</B></DT>
 
104
  <DD>$Revision: 1.1 $ $Date: 2003/08/22 08:43:29 $</DD>
 
105
<DT><B>Author:</B></DT>
 
106
  <DD>Sean M. Kelley, Rob Leland</DD>
 
107
</DL>
 
108
<HR>
 
109
 
 
110
<P>
 
111
<!-- ======== NESTED CLASS SUMMARY ======== -->
 
112
 
 
113
 
 
114
<!-- =========== FIELD SUMMARY =========== -->
 
115
 
 
116
<A NAME="field_summary"><!-- --></A>
 
117
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
118
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
119
<TD COLSPAN=2><FONT SIZE="+2">
 
120
<B>Field 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>private &nbsp;java.util.Enumeration</CODE></FONT></TD>
 
125
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/IteratorAdapter.html#enum">enum</A></B></CODE>
 
126
 
 
127
<BR>
 
128
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
 
129
</TR>
 
130
</TABLE>
 
131
&nbsp;
 
132
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 
133
 
 
134
<A NAME="constructor_summary"><!-- --></A>
 
135
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
136
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
137
<TD COLSPAN=2><FONT SIZE="+2">
 
138
<B>Constructor Summary</B></FONT></TD>
 
139
</TR>
 
140
<TR BGCOLOR="white" CLASS="TableRowColor">
 
141
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/IteratorAdapter.html#IteratorAdapter(java.util.Enumeration)">IteratorAdapter</A></B>(java.util.Enumeration&nbsp;enum)</CODE>
 
142
 
 
143
<BR>
 
144
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
 
145
</TR>
 
146
</TABLE>
 
147
&nbsp;
 
148
<!-- ========== METHOD SUMMARY =========== -->
 
149
 
 
150
<A NAME="method_summary"><!-- --></A>
 
151
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
152
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
153
<TD COLSPAN=2><FONT SIZE="+2">
 
154
<B>Method Summary</B></FONT></TD>
 
155
</TR>
 
156
<TR BGCOLOR="white" CLASS="TableRowColor">
 
157
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
158
<CODE>&nbsp;boolean</CODE></FONT></TD>
 
159
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/IteratorAdapter.html#hasNext()">hasNext</A></B>()</CODE>
 
160
 
 
161
<BR>
 
162
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
 
163
</TR>
 
164
<TR BGCOLOR="white" CLASS="TableRowColor">
 
165
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
166
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
 
167
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/IteratorAdapter.html#next()">next</A></B>()</CODE>
 
168
 
 
169
<BR>
 
170
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
 
171
</TR>
 
172
<TR BGCOLOR="white" CLASS="TableRowColor">
 
173
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
174
<CODE>&nbsp;void</CODE></FONT></TD>
 
175
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/IteratorAdapter.html#remove()">remove</A></B>()</CODE>
 
176
 
 
177
<BR>
 
178
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
 
179
</TR>
 
180
</TABLE>
 
181
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
 
182
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
183
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 
184
<TD><B>Methods inherited from class java.lang.Object</B></TD>
 
185
</TR>
 
186
<TR BGCOLOR="white" CLASS="TableRowColor">
 
187
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
 
188
</TR>
 
189
</TABLE>
 
190
&nbsp;
 
191
<P>
 
192
 
 
193
<!-- ============ FIELD DETAIL =========== -->
 
194
 
 
195
<A NAME="field_detail"><!-- --></A>
 
196
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
197
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
198
<TD COLSPAN=1><FONT SIZE="+2">
 
199
<B>Field Detail</B></FONT></TD>
 
200
</TR>
 
201
</TABLE>
 
202
 
 
203
<A NAME="enum"><!-- --></A><H3>
 
204
enum</H3>
 
205
<PRE>
 
206
private java.util.Enumeration <B>enum</B></PRE>
 
207
<DL>
 
208
<DD><B>Deprecated.</B>&nbsp;<DL>
 
209
</DL>
 
210
</DL>
 
211
 
 
212
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
213
 
 
214
<A NAME="constructor_detail"><!-- --></A>
 
215
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
216
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
217
<TD COLSPAN=1><FONT SIZE="+2">
 
218
<B>Constructor Detail</B></FONT></TD>
 
219
</TR>
 
220
</TABLE>
 
221
 
 
222
<A NAME="IteratorAdapter(java.util.Enumeration)"><!-- --></A><H3>
 
223
IteratorAdapter</H3>
 
224
<PRE>
 
225
public <B>IteratorAdapter</B>(java.util.Enumeration&nbsp;enum)</PRE>
 
226
<DL>
 
227
<DD><B>Deprecated.</B>&nbsp;</DL>
 
228
 
 
229
<!-- ============ METHOD DETAIL ========== -->
 
230
 
 
231
<A NAME="method_detail"><!-- --></A>
 
232
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
233
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
234
<TD COLSPAN=1><FONT SIZE="+2">
 
235
<B>Method Detail</B></FONT></TD>
 
236
</TR>
 
237
</TABLE>
 
238
 
 
239
<A NAME="hasNext()"><!-- --></A><H3>
 
240
hasNext</H3>
 
241
<PRE>
 
242
public boolean <B>hasNext</B>()</PRE>
 
243
<DL>
 
244
<DD><B>Deprecated.</B>&nbsp;<DD><DL>
 
245
<DT><B>Specified by:</B><DD><CODE>hasNext</CODE> in interface <CODE>java.util.Iterator</CODE></DL>
 
246
</DD>
 
247
<DD><DL>
 
248
</DL>
 
249
</DD>
 
250
</DL>
 
251
<HR>
 
252
 
 
253
<A NAME="next()"><!-- --></A><H3>
 
254
next</H3>
 
255
<PRE>
 
256
public java.lang.Object <B>next</B>()</PRE>
 
257
<DL>
 
258
<DD><B>Deprecated.</B>&nbsp;<DD><DL>
 
259
<DT><B>Specified by:</B><DD><CODE>next</CODE> in interface <CODE>java.util.Iterator</CODE></DL>
 
260
</DD>
 
261
<DD><DL>
 
262
</DL>
 
263
</DD>
 
264
</DL>
 
265
<HR>
 
266
 
 
267
<A NAME="remove()"><!-- --></A><H3>
 
268
remove</H3>
 
269
<PRE>
 
270
public void <B>remove</B>()</PRE>
 
271
<DL>
 
272
<DD><B>Deprecated.</B>&nbsp;<DD><DL>
 
273
<DT><B>Specified by:</B><DD><CODE>remove</CODE> in interface <CODE>java.util.Iterator</CODE></DL>
 
274
</DD>
 
275
<DD><DL>
 
276
</DL>
 
277
</DD>
 
278
</DL>
 
279
<!-- ========= END OF CLASS DATA ========= -->
 
280
<HR>
 
281
 
 
282
<!-- ========== START OF NAVBAR ========== -->
 
283
<A NAME="navbar_bottom"><!-- --></A>
 
284
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
 
285
<TR>
 
286
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
287
<A NAME="navbar_bottom_firstrow"><!-- --></A>
 
288
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
 
289
  <TR ALIGN="center" VALIGN="top">
 
290
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
291
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
292
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
293
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/IteratorAdapter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 
294
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
295
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
296
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
297
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
298
  </TR>
 
299
</TABLE>
 
300
</TD>
 
301
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
302
</EM>
 
303
</TD>
 
304
</TR>
 
305
 
 
306
<TR>
 
307
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
308
&nbsp;<A HREF="../../../../org/apache/struts/util/ImageButtonBean.html"><B>PREV CLASS</B></A>&nbsp;
 
309
&nbsp;<A HREF="../../../../org/apache/struts/util/LabelValueBean.html"><B>NEXT CLASS</B></A></FONT></TD>
 
310
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
311
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
 
312
&nbsp;<A HREF="IteratorAdapter.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
 
313
&nbsp;
 
314
<SCRIPT>
 
315
  <!--
 
316
  if(window==top) {
 
317
    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
 
318
  }
 
319
  //-->
 
320
</SCRIPT>
 
321
<NOSCRIPT>
 
322
<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
 
323
</NOSCRIPT>
 
324
</FONT></TD>
 
325
</TR>
 
326
<TR>
 
327
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
328
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
329
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
330
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
331
</TR>
 
332
</TABLE>
 
333
<!-- =========== END OF NAVBAR =========== -->
 
334
 
 
335
<HR>
 
336
Copyright � 2000-2003 - Apache Software Foundation
 
337
</BODY>
 
338
</HTML>