org.apache.cocoon.selection
Class AbstractSwitchSelector
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.selection.AbstractSwitchSelector
- All Implemented Interfaces:
- Component, LogEnabled, ThreadSafe, Selector, SwitchSelector
- Direct Known Subclasses:
- AbstractRegexpSelector, AjaxRequestSelector, ExceptionSelector, MailCommandSelector, RequestParameterSelector, SimpleSelector
public abstract class AbstractSwitchSelector
- extends AbstractLogEnabled
- implements SwitchSelector
Abstract SwitchSelector class.
- Version:
- $Id: AbstractSwitchSelector.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Marcus Crafter, Sylvain Wallez
Method Summary |
boolean |
select(String expr,
Map objectModel,
Parameters params)
Selectors test pattern against some objects in a Map
model and signals success with the returned boolean value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSwitchSelector
public AbstractSwitchSelector()
select
public boolean select(String expr,
Map objectModel,
Parameters params)
- Selectors test pattern against some objects in a
Map
model and signals success with the returned boolean value
- Specified by:
select
in interface Selector
- Parameters:
expr
- The expression to test.objectModel
- The Map
containing object of the
calling environment which may be used
to select values to test the expression.params
- The sitemap parameters, as specified by <parameter/> tags.
- Returns:
- Signals successful test.
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.