org.apache.struts.action

Class ActionFormBean

Implemented Interfaces:
Serializable

public class ActionFormBean
extends FormBeanConfig

An ActionFormBean is the definition of a form bean that is loaded from a <form-bean> element in the Struts configuration file. It can be subclassed as necessary to add additional properties.

Since Struts 1.1 ActionFormBean extends FormBeanConfig.

NOTE - This class would have been deprecated and replaced by org.apache.struts.config.FormBeanConfig except for the fact that it is part of the public API that existing applications are using.

Version:
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $

Field Summary

Fields inherited from class org.apache.struts.config.FormBeanConfig

configured, dynaActionFormClass, dynamic, formProperties, lock, name, restricted, type

Constructor Summary

ActionFormBean()
Construct an instance with default vaslues.
ActionFormBean(String name, String type)
Construct an instance with the specified values.

Method Summary

Methods inherited from class org.apache.struts.config.FormBeanConfig

addFormPropertyConfig, createActionForm, findFormPropertyConfig, findFormPropertyConfigs, formBeanClass, freeze, getDynaActionFormClass, getDynamic, getName, getType, isRestricted, removeFormPropertyConfig, setDynamic, setName, setRestricted, setType, toString

Constructor Details

ActionFormBean

public ActionFormBean()
Construct an instance with default vaslues.

ActionFormBean

public ActionFormBean(String name,
                      String type)
Construct an instance with the specified values.
Parameters:
name - Form bean name
type - Fully qualified class name

Copyright B) 2000-2007 - The Apache Software Foundation