org.apache.cocoon.selection
Class AbstractSwitchSelector

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.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 $

Field Summary
 
Fields inherited from interface org.apache.cocoon.selection.SwitchSelector
ROLE
 
Constructor Summary
AbstractSwitchSelector()
           
 
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
 

Constructor Detail

AbstractSwitchSelector

public AbstractSwitchSelector()
Method Detail

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.