org.apache.cocoon.selection
Class RequestAttributeSelector
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.selection.RequestAttributeSelector
- All Implemented Interfaces:
- Configurable, org.apache.cocoon.selection.Selector, ThreadSafe
- public class RequestAttributeSelector
- extends org.apache.cocoon.util.AbstractLogEnabled
- implements Configurable, ThreadSafe, org.apache.cocoon.selection.Selector
A Selector
that matches a string against a configurable request
attribute's string represenation.
Global and local configuration
attribute-name | String identifying the request attribute. |
- Version:
- $Id: RequestAttributeSelector.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from interface org.apache.cocoon.selection.Selector |
ROLE |
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 |
defaultName
protected String defaultName
RequestAttributeSelector
public RequestAttributeSelector()
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.