org.apache.cocoon.selection
Interface Selector
- All Superinterfaces:
- Component
- All Known Subinterfaces:
- SwitchSelector
- All Known Implementing Classes:
- AbstractSwitchSelector, CookieSelector, HeaderSelector, MediaSelector, NamedPatternsSelector, ParameterSelector, RequestAttributeSelector, RequestMethodSelector, ResourceExistsSelector, SessionAttributeSelector
- public interface Selector
- extends Component
- Version:
- CVS $Id: Selector.java 433543 2006-08-22 06:22:54Z crossley $
- Author:
- Giacomo Pati, Leo Sutic
|
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 |
ROLE
public static final String ROLE
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-2006 The Apache Software Foundation. All Rights Reserved.