org.apache.struts.action
Class ActionFormBeans
java.lang.Object
|
+--org.apache.struts.action.ActionFormBeans
- All Implemented Interfaces:
- java.io.Serializable
- public class ActionFormBeans
- extends java.lang.Object
- implements java.io.Serializable
Encapsulate a collection of ActionFormBean objects that can be
administered and searched, while hiding the internal implementation.
- Version:
- $Revision: 1.1 $ $Date: 2001/09/17 20:03:01 $
- Author:
- Craig R. McClanahan
- See Also:
- Serialized Form
Field Summary |
protected FastHashMap |
formBeans
The collection of ActionFormBean instances, keyed by name. |
Method Summary |
void |
addFormBean(ActionFormBean formBean)
Register a form bean to the set configured for this servlet. |
ActionFormBean |
findFormBean(java.lang.String name)
Return the formBean associated with the specified logical name,
if any; otherwise return null . |
java.lang.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. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
formBeans
protected FastHashMap formBeans
- The collection of ActionFormBean instances, keyed by name.
ActionFormBeans
public ActionFormBeans()
getFast
public boolean getFast()
- Return the "fast" mode flag.
setFast
public void setFast(boolean fast)
- Set the "fast" mode flag.
- Parameters:
fast
- The new fast mode flag
addFormBean
public void addFormBean(ActionFormBean formBean)
- Register a form bean to the set configured for this servlet.
- Parameters:
formBean
- The formBean to be added
findFormBean
public ActionFormBean findFormBean(java.lang.String name)
- Return the formBean associated with the specified logical name,
if any; otherwise return
null
.
- Parameters:
name
- Logical name of the desired form bean
findFormBeans
public java.lang.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.
removeFormBean
public void removeFormBean(ActionFormBean formBean)
- Deregister a formBean from the set configured for this servlet.
- Parameters:
formBean
- The formBean to be deregistered
Copyright © 2000-2001 - Apache Software Foundation