org.apache.cocoon.selection
Interface Selector

All Superinterfaces:
Component
All Known Subinterfaces:
SwitchSelector
All Known Implementing Classes:
AbstractRegexpSelector, AbstractSwitchSelector, AjaxRequestSelector, BrowserSelector, CookieSelector, ExceptionSelector, HeaderSelector, HostSelector, MailCommandSelector, MediaSelector, NamedPatternsSelector, ParameterSelector, RegexpHeaderSelector, RegexpRequestParameterSelector, RequestAttributeSelector, RequestMethodSelector, RequestParameterSelector, RequestSelector, ResourceExistsSelector, SessionAttributeSelector, SessionStateSelector, SimpleSelector, XPathExceptionSelector

public interface Selector
extends Component

Version:
CVS $Id: Selector.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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

static final String ROLE
Method Detail

select

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-2010 The Apache Software Foundation. All Rights Reserved.