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