org.apache.cocoon.acting
Class CookieValidatorAction

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.acting.AbstractAction
          extended byorg.apache.cocoon.acting.AbstractConfigurableAction
              extended byorg.apache.cocoon.acting.ConfigurableServiceableAction
                  extended byorg.apache.cocoon.acting.AbstractComplementaryConfigurableAction
                      extended byorg.apache.cocoon.acting.AbstractValidatorAction
                          extended byorg.apache.cocoon.acting.CookieValidatorAction
All Implemented Interfaces:
Action, Configurable, LogEnabled, Serviceable

public class CookieValidatorAction
extends AbstractValidatorAction

This is the action used to validate Cookie parameters (values). The parameters are described via the external xml file.

Version:
CVS $Id: CookieValidatorAction.java 312663 2005-10-10 15:05:55Z sylvain $
Author:
Paolo Scaffardi, Christian Haul
See Also:
AbstractValidatorAction

Field Summary
 
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
 
Constructor Summary
CookieValidatorAction()
           
 
Method Summary
protected  HashMap createMapOfParameters(Map objectModel, Collection set)
          Reads parameter values for all parameters that are contained in the active constraint list.
static Cookie getCookie(Map objectModel, String cookieName)
           
 
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.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.avalon.framework.configuration.Configurable
configure
 

Constructor Detail

CookieValidatorAction

public CookieValidatorAction()
Method Detail

createMapOfParameters

protected HashMap createMapOfParameters(Map objectModel,
                                        Collection set)
Description copied from class: AbstractValidatorAction
Reads parameter values for all parameters that are contained in the active constraint list. If a parameter has multiple values, all are stored in the resulting map.

Specified by:
createMapOfParameters in class AbstractValidatorAction
Parameters:
objectModel - the object model
set - a collection of parameter names
Returns:
HashMap

getCookie

public static Cookie getCookie(Map objectModel,
                               String cookieName)


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.