org.apache.struts.action
Class ActionFormBeans
java.lang.Objectorg.apache.struts.action.ActionFormBeans
- Serializable
public class ActionFormBeans
extends java.lang.Object
implements Serializable
Encapsulate a collection of ActionFormBean objects that can be
administered and searched, while hiding the internal implementation.
Version:
- Craig R. McClanahan
protected FastHashMap | formBeans- The collection of ActionFormBean instances, keyed by name.
|
void | addFormBean(ActionFormBean formBean)- Register a form bean to the set configured for this servlet.
|
ActionFormBean | findFormBean(String name)- Return the formBean associated with the specified logical name,
if any; otherwise return
null.
|
String[] | findFormBeans()- Return the set of names for form beans defined in this collection.
|
boolean | getFast()- Return the "fast" mode flag.
|
void | removeFormBean(ActionFormBean formBean)- Deregister a formBean from the set configured for this servlet.
|
void | setFast(boolean fast)- Set the "fast" mode flag.
|
formBeans
protected FastHashMap formBeans
The collection of ActionFormBean instances, keyed by name.
addFormBean
public void addFormBean(ActionFormBean formBean)
Register a form bean to the set configured for this servlet.
formBean - The formBean to be added
findFormBean
public ActionFormBean findFormBean(String name)
Return the formBean associated with the specified logical name,
if any; otherwise return null.
name - Logical name of the desired form bean
findFormBeans
public String[] findFormBeans()
Return the set of names for form beans defined in this collection.
If there are no such formBeans, a zero-length array is returned.
getFast
public boolean getFast()
Return the "fast" mode flag.
removeFormBean
public void removeFormBean(ActionFormBean formBean)
Deregister a formBean from the set configured for this servlet.
formBean - The formBean to be deregistered
setFast
public void setFast(boolean fast)
Set the "fast" mode flag.
fast - The new fast mode flag
Copyright B) 2000-2005 - Apache Software Foundation