org.apache.cocoon.selection
Interface Selector

All Known Subinterfaces:
SwitchSelector
All Known Implementing Classes:
AbstractSwitchSelector, CookieSelector, HeaderSelector, MediaSelector, NamedPatternsSelector, ParameterSelector, RequestAttributeSelector, RequestMethodSelector, ResourceExistsSelector, SessionAttributeSelector

public interface Selector

Version:
CVS $Id: Selector.java 55389 2004-10-23 15:46:58Z cziegeler $
Author:
Giacomo Pati, Leo Sutic

Field Summary
static String ROLE
           
 
Method Summary
 boolean select(String expression, Map objectModel, Parameters parameters)
          Selectors test pattern against some objects in a Map model and signals success with the returned boolean value
 

Field Detail

ROLE

public static final String ROLE
Method Detail

select

public boolean select(String expression,
                      Map objectModel,
                      Parameters parameters)
Selectors test pattern against some objects in a Map model and signals success with the returned boolean value

Parameters:
expression - The expression to test.
objectModel - The Map containing object of the calling environment which may be used to select values to test the expression.
parameters - The sitemap parameters, as specified by <parameter/> tags.
Returns:
boolean Signals successfull test.


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.