1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.struts.action;
19
20 import org.apache.struts.config.FormBeanConfig;
21
22 /***
23 * <p>An <strong>ActionFormBean</strong> is the definition of a form bean that
24 * is loaded from a <code><form-bean></code> element in the Struts
25 * configuration file. It can be subclassed as necessary to add additional
26 * properties.</p>
27 *
28 * <p>Since Struts 1.1 <code>ActionFormBean</code> extends
29 * <code>FormBeanConfig</code>.</p>
30 *
31 * <p><strong>NOTE</strong> - This class would have been deprecated and
32 * replaced by <code>org.apache.struts.config.FormBeanConfig</code> except for
33 * the fact that it is part of the public API that existing applications are
34 * using.</p>
35 *
36 * @version $Rev: 421119 $ $Date: 2005-05-14 01:09:32 -0400 (Sat, 14 May 2005)
37 * $
38 */
39 public class ActionFormBean extends FormBeanConfig {
40 /***
41 * <p>Construct an instance with default vaslues.</p>
42 */
43 public ActionFormBean() {
44 super();
45 }
46
47 /***
48 * <p>Construct an instance with the specified values.</p>
49 *
50 * @param name Form bean name
51 * @param type Fully qualified class name
52 */
53 public ActionFormBean(String name, String type) {
54 super();
55 setName(name);
56 setType(type);
57 }
58 }