org.apache.cocoon.acting
Class FormValidatorAction
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.ConfigurableServiceableAction
org.apache.cocoon.acting.AbstractComplementaryConfigurableAction
org.apache.cocoon.acting.AbstractValidatorAction
org.apache.cocoon.acting.FormValidatorAction
- All Implemented Interfaces:
- org.apache.cocoon.acting.Action, Configurable, Serviceable, ThreadSafe
- public class FormValidatorAction
- extends org.apache.cocoon.acting.AbstractValidatorAction
- implements ThreadSafe
This is the action used to validate Request parameters.
The parameters are described via the external xml
file (its format is defined in AbstractValidatorAction).
- Version:
- $Id: FormValidatorAction.java 607378 2007-12-29 05:36:16Z vgritsenko $
- See Also:
AbstractValidatorAction
| Fields inherited from class org.apache.cocoon.acting.AbstractValidatorAction |
FORMVALIDATOR_PATH |
| Fields inherited from class org.apache.cocoon.acting.AbstractComplementaryConfigurableAction |
DESCRIPTOR_RELOADABLE_DEFAULT |
| Fields inherited from class org.apache.cocoon.acting.ConfigurableServiceableAction |
manager |
| Fields inherited from class org.apache.cocoon.acting.AbstractConfigurableAction |
settings |
| Fields inherited from class org.apache.cocoon.acting.AbstractAction |
EMPTY_MAP |
| Fields inherited from interface org.apache.cocoon.acting.Action |
ROLE |
| Methods inherited from class org.apache.cocoon.acting.AbstractValidatorAction |
act, getDescriptor, getSetOfParameterNamesFromSitemap, indexConfiguration, isDescriptorReloadable, resolveConstraints, setResult, validateParameter, validateParameter, validateSetOfParameters, validateValue |
| Methods inherited from class org.apache.cocoon.acting.AbstractComplementaryConfigurableAction |
getConfiguration, getConfiguration |
| Methods inherited from class org.apache.cocoon.acting.ConfigurableServiceableAction |
service |
| Methods inherited from class org.apache.cocoon.acting.AbstractConfigurableAction |
configure |
| Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormValidatorAction
public FormValidatorAction()
createMapOfParameters
protected HashMap createMapOfParameters(Map objectModel,
Collection set)
- Reads parameter values from request parameters for all parameters
that are contained in the active constraint list. If a parameter
has multiple values, all are stored in the resulting map.
- Parameters:
objectModel - the object modelset - a collection of parameter names
- Returns:
- HashMap of required parameters
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.