Package | Description |
---|---|
org.apache.struts.action |
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
|
org.apache.struts.config |
The "config" package contains configuration objects that correspond to
elements that may be specified in the
struts-config.xml
module configuration file. |
org.apache.struts.config.impl |
Provides default implementation classes for the configuration objects.
|
org.apache.struts.util |
The Utilities package provides a variety of families of classes,
to solve problems that are commonly encountered in building web applications.
|
org.apache.struts.validator |
The validator package provides a series of classes to validate
ActionForm type of input. |
Modifier and Type | Class and Description |
---|---|
class |
ActionFormBean
An ActionFormBean is the definition of a form bean that
is loaded from a
<form-bean> element in the Struts
configuration file. |
Modifier and Type | Field and Description |
---|---|
protected FormBeanConfig |
DynaActionFormClass.config
The form bean configuration information for this class.
|
Modifier and Type | Method and Description |
---|---|
protected FormBeanConfig |
ActionServlet.processFormBeanConfigClass(FormBeanConfig beanConfig,
ModuleConfig moduleConfig)
Checks if the current beanConfig is using the correct class based on
the class of its ancestor form bean config.
|
Modifier and Type | Method and Description |
---|---|
static DynaActionFormClass |
DynaActionFormClass.createDynaActionFormClass(FormBeanConfig config)
Return the
DynaActionFormClass instance for the specified
form bean configuration instance. |
void |
DynaActionForm.initialize(FormBeanConfig config)
Initialize the specified form bean.
|
protected void |
DynaActionFormClass.introspect(FormBeanConfig config)
Introspect our form bean configuration to identify the supported
properties.
|
protected FormBeanConfig |
ActionServlet.processFormBeanConfigClass(FormBeanConfig beanConfig,
ModuleConfig moduleConfig)
Checks if the current beanConfig is using the correct class based on
the class of its ancestor form bean config.
|
protected void |
ActionServlet.processFormBeanExtension(FormBeanConfig beanConfig,
ModuleConfig moduleConfig)
Extend the form bean's configuration as necessary.
|
Constructor and Description |
---|
DynaActionFormClass(FormBeanConfig config)
Construct a new
DynaActionFormClass for the specified
form bean configuration. |
Modifier and Type | Method and Description |
---|---|
FormBeanConfig |
ModuleConfig.findFormBeanConfig(String name)
Return the form bean configuration for the specified key, if any;
otherwise return
null . |
FormBeanConfig[] |
ModuleConfig.findFormBeanConfigs()
Return the form bean configurations for this module.
|
Modifier and Type | Method and Description |
---|---|
void |
ModuleConfig.addFormBeanConfig(FormBeanConfig config)
Add a new
FormBeanConfig instance to the set
associated with this module. |
protected void |
FormBeanConfig.inheritFormProperties(FormBeanConfig config)
Compare the form properties of this bean with that of the given and
copy those that are not present.
|
void |
FormBeanConfig.inheritFrom(FormBeanConfig config)
Inherit values that have not been overridden from the provided
config object.
|
void |
ModuleConfig.removeFormBeanConfig(FormBeanConfig config)
Remove the specified form bean configuration instance.
|
Modifier and Type | Method and Description |
---|---|
FormBeanConfig |
ModuleConfigImpl.findFormBeanConfig(String name)
Return the form bean configuration for the specified key, if any;
otherwise return
null . |
FormBeanConfig[] |
ModuleConfigImpl.findFormBeanConfigs()
Return the form bean configurations for this module.
|
Modifier and Type | Method and Description |
---|---|
void |
ModuleConfigImpl.addFormBeanConfig(FormBeanConfig config)
Add a new
FormBeanConfig instance to the set
associated with this module. |
void |
ModuleConfigImpl.removeFormBeanConfig(FormBeanConfig config)
Remove the specified form bean configuration instance.
|
Modifier and Type | Method and Description |
---|---|
static ActionForm |
RequestUtils.createActionForm(FormBeanConfig config,
ActionServlet servlet)
Create and return an
ActionForm instance appropriate to
the information in config . |
Modifier and Type | Method and Description |
---|---|
void |
BeanValidatorForm.initialize(FormBeanConfig formBeanConfig)
Perform intialization of the ActionForm.
|
Copyright © 2000–2016 Apache Software Foundation. All rights reserved.