org.apache.cocoon.selection
Class AbstractSwitchSelector
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.selection.AbstractSwitchSelector
- All Implemented Interfaces:
- org.apache.cocoon.selection.Selector, org.apache.cocoon.selection.SwitchSelector, ThreadSafe
- Direct Known Subclasses:
- AbstractRegexpSelector
- public abstract class AbstractSwitchSelector
- extends org.apache.cocoon.util.AbstractLogEnabled
- implements org.apache.cocoon.selection.SwitchSelector
Abstract SwitchSelector class.
- Version:
- $Id: AbstractSwitchSelector.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from interface org.apache.cocoon.selection.SwitchSelector |
ROLE |
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 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 |
Methods inherited from interface org.apache.cocoon.selection.SwitchSelector |
getSelectorContext, select |
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 org.apache.cocoon.selection.Selector
- Parameters:
expr
- The expression to test.
- Returns:
- Signals successful test.
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.