org.apache.cocoon.selection
Class CookieSelector

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.selection.CookieSelector
All Implemented Interfaces:
Configurable, org.apache.cocoon.selection.Selector, ThreadSafe

public class CookieSelector
extends org.apache.cocoon.util.AbstractLogEnabled
implements Configurable, org.apache.cocoon.selection.Selector, ThreadSafe

A Selector that matches a string against a configurable cookie's value.

Global and local configuration

cookie-name Name of the cookie whose value to match against

Version:
$Id: CookieSelector.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected  String defaultName
           
 
Fields inherited from interface org.apache.cocoon.selection.Selector
ROLE
 
Constructor Summary
CookieSelector()
           
 
Method Summary
 void configure(Configuration config)
           
 boolean select(String expression, Map objectModel, Parameters parameters)
           
 
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
 

Field Detail

defaultName

protected String defaultName
Constructor Detail

CookieSelector

public CookieSelector()
Method Detail

configure

public void configure(Configuration config)
               throws ConfigurationException
Specified by:
configure in interface Configurable
Throws:
ConfigurationException

select

public boolean select(String expression,
                      Map objectModel,
                      Parameters parameters)
Specified by:
select in interface org.apache.cocoon.selection.Selector


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.