1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
5
<!-- Generated by javadoc on Fri Jun 15 16:53:35 PDT 2001 -->
7
Apache Struts API Documentation: Class ActionForwards
9
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
11
<BODY BGCOLOR="white">
13
<!-- ========== START OF NAVBAR ========== -->
14
<A NAME="navbar_top"><!-- --></A>
15
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
17
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
18
<A NAME="navbar_top_firstrow"><!-- --></A>
19
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
20
<TR ALIGN="center" VALIGN="top">
21
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
22
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
23
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
24
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
25
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
26
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
27
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
31
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
37
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
38
<A HREF="../../../../org/apache/struts/action/ActionForward.html"><B>PREV CLASS</B></A>
39
<A HREF="../../../../org/apache/struts/action/ActionMapping.html"><B>NEXT CLASS</B></A></FONT></TD>
40
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
41
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
42
<A HREF="ActionForwards.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
45
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
46
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
47
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
48
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
51
<!-- =========== END OF NAVBAR =========== -->
54
<!-- ======== START OF CLASS DATA ======== -->
57
org.apache.struts.action</FONT>
59
Class ActionForwards</H2>
63
+--<B>org.apache.struts.action.ActionForwards</B>
66
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
70
<DT>public class <B>ActionForwards</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
73
Encapsulate a collection of ActionForward objects that can be
74
administered and searched, while hiding the internal implementation.
77
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/09/17 20:03:01 $</DD>
78
<DT><B>Author: </B><DD>Craig R. McClanahan</DD>
79
<DT><B>See Also: </B><DD><A HREF="../../../../serialized-form.html#org.apache.struts.action.ActionForwards">Serialized Form</A></DL>
83
<!-- ======== INNER CLASS SUMMARY ======== -->
86
<!-- =========== FIELD SUMMARY =========== -->
88
<A NAME="field_summary"><!-- --></A>
89
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
90
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
91
<TD COLSPAN=2><FONT SIZE="+2">
92
<B>Field Summary</B></FONT></TD>
94
<TR BGCOLOR="white" CLASS="TableRowColor">
95
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
96
<CODE>private <A HREF="../../../../org/apache/struts/util/FastHashMap.html">FastHashMap</A></CODE></FONT></TD>
97
<TD><CODE><B><A HREF="../../../../org/apache/struts/action/ActionForwards.html#forwards">forwards</A></B></CODE>
100
The collection of ActionForward instances, keyed by logical name.</TD>
104
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
106
<A NAME="constructor_summary"><!-- --></A>
107
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
108
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
109
<TD COLSPAN=2><FONT SIZE="+2">
110
<B>Constructor Summary</B></FONT></TD>
112
<TR BGCOLOR="white" CLASS="TableRowColor">
113
<TD><CODE><B><A HREF="../../../../org/apache/struts/action/ActionForwards.html#ActionForwards()">ActionForwards</A></B>()</CODE>
116
</TD>
120
<!-- ========== METHOD SUMMARY =========== -->
122
<A NAME="method_summary"><!-- --></A>
123
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
124
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
125
<TD COLSPAN=2><FONT SIZE="+2">
126
<B>Method Summary</B></FONT></TD>
128
<TR BGCOLOR="white" CLASS="TableRowColor">
129
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
130
<CODE> void</CODE></FONT></TD>
131
<TD><CODE><B><A HREF="../../../../org/apache/struts/action/ActionForwards.html#addForward(org.apache.struts.action.ActionForward)">addForward</A></B>(<A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A> forward)</CODE>
134
Register a logical forwarding to the set configured for this servlet.</TD>
136
<TR BGCOLOR="white" CLASS="TableRowColor">
137
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138
<CODE> <A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A></CODE></FONT></TD>
139
<TD><CODE><B><A HREF="../../../../org/apache/struts/action/ActionForwards.html#findForward(java.lang.String)">findForward</A></B>(java.lang.String name)</CODE>
142
Return the forwarding associated with the specified logical name,
143
if any; otherwise return <code>null</code>.</TD>
145
<TR BGCOLOR="white" CLASS="TableRowColor">
146
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147
<CODE> java.lang.String[]</CODE></FONT></TD>
148
<TD><CODE><B><A HREF="../../../../org/apache/struts/action/ActionForwards.html#findForwards()">findForwards</A></B>()</CODE>
151
Return the set of logical names for forwards defined in this collection.</TD>
153
<TR BGCOLOR="white" CLASS="TableRowColor">
154
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
155
<CODE> boolean</CODE></FONT></TD>
156
<TD><CODE><B><A HREF="../../../../org/apache/struts/action/ActionForwards.html#getFast()">getFast</A></B>()</CODE>
159
Return the "fast" mode flag.</TD>
161
<TR BGCOLOR="white" CLASS="TableRowColor">
162
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163
<CODE> void</CODE></FONT></TD>
164
<TD><CODE><B><A HREF="../../../../org/apache/struts/action/ActionForwards.html#removeForward(org.apache.struts.action.ActionForward)">removeForward</A></B>(<A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A> forward)</CODE>
167
Deregister a forwarding from the set configured for this servlet.</TD>
169
<TR BGCOLOR="white" CLASS="TableRowColor">
170
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171
<CODE> void</CODE></FONT></TD>
172
<TD><CODE><B><A HREF="../../../../org/apache/struts/action/ActionForwards.html#setFast(boolean)">setFast</A></B>(boolean fast)</CODE>
175
Set the "fast" mode flag.</TD>
178
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
179
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
180
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
181
<TD><B>Methods inherited from class java.lang.Object</B></TD>
183
<TR BGCOLOR="white" CLASS="TableRowColor">
184
<TD><CODE><clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait</CODE></TD>
190
<!-- ============ FIELD DETAIL =========== -->
192
<A NAME="field_detail"><!-- --></A>
193
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
194
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
195
<TD COLSPAN=1><FONT SIZE="+2">
196
<B>Field Detail</B></FONT></TD>
200
<A NAME="forwards"><!-- --></A><H3>
203
private <A HREF="../../../../org/apache/struts/util/FastHashMap.html">FastHashMap</A> <B>forwards</B></PRE>
205
<DD>The collection of ActionForward instances, keyed by logical name.</DL>
207
<!-- ========= CONSTRUCTOR DETAIL ======== -->
209
<A NAME="constructor_detail"><!-- --></A>
210
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
211
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
212
<TD COLSPAN=1><FONT SIZE="+2">
213
<B>Constructor Detail</B></FONT></TD>
217
<A NAME="ActionForwards()"><!-- --></A><H3>
220
public <B>ActionForwards</B>()</PRE>
224
<!-- ============ METHOD DETAIL ========== -->
226
<A NAME="method_detail"><!-- --></A>
227
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
228
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
229
<TD COLSPAN=1><FONT SIZE="+2">
230
<B>Method Detail</B></FONT></TD>
234
<A NAME="getFast()"><!-- --></A><H3>
237
public boolean <B>getFast</B>()</PRE>
239
<DD>Return the "fast" mode flag.<DD><DL>
245
<A NAME="setFast(boolean)"><!-- --></A><H3>
248
public void <B>setFast</B>(boolean fast)</PRE>
250
<DD>Set the "fast" mode flag.<DD><DL>
254
<DT><B>Parameters:</B><DD><CODE>fast</CODE> - The new fast mode flag</DL>
259
<A NAME="addForward(org.apache.struts.action.ActionForward)"><!-- --></A><H3>
262
public void <B>addForward</B>(<A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A> forward)</PRE>
264
<DD>Register a logical forwarding to the set configured for this servlet.<DD><DL>
268
<DT><B>Parameters:</B><DD><CODE>forward</CODE> - The forwarding to be added</DL>
273
<A NAME="findForward(java.lang.String)"><!-- --></A><H3>
276
public <A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A> <B>findForward</B>(java.lang.String name)</PRE>
278
<DD>Return the forwarding associated with the specified logical name,
279
if any; otherwise return <code>null</code>.<DD><DL>
283
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Logical name of the requested forwarding</DL>
288
<A NAME="findForwards()"><!-- --></A><H3>
291
public java.lang.String[] <B>findForwards</B>()</PRE>
293
<DD>Return the set of logical names for forwards defined in this collection.
294
If there are no such forwards, a zero-length array is returned.<DD><DL>
300
<A NAME="removeForward(org.apache.struts.action.ActionForward)"><!-- --></A><H3>
303
public void <B>removeForward</B>(<A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A> forward)</PRE>
305
<DD>Deregister a forwarding from the set configured for this servlet.<DD><DL>
309
<DT><B>Parameters:</B><DD><CODE>forward</CODE> - The forwarding to be deregistered</DL>
312
<!-- ========= END OF CLASS DATA ========= -->
315
<!-- ========== START OF NAVBAR ========== -->
316
<A NAME="navbar_bottom"><!-- --></A>
317
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
319
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
320
<A NAME="navbar_bottom_firstrow"><!-- --></A>
321
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
322
<TR ALIGN="center" VALIGN="top">
323
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
324
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
325
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
326
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
327
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
328
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
329
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
333
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
339
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
340
<A HREF="../../../../org/apache/struts/action/ActionForward.html"><B>PREV CLASS</B></A>
341
<A HREF="../../../../org/apache/struts/action/ActionMapping.html"><B>NEXT CLASS</B></A></FONT></TD>
342
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
343
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
344
<A HREF="ActionForwards.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
347
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
348
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
349
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
350
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
353
<!-- =========== END OF NAVBAR =========== -->
356
Copyright � 2000-2001 - Apache Software Foundation