org.apache.cocoon.selection
Interface Selector

All Known Subinterfaces:
SwitchSelector

public interface Selector

Version:
$Id: Selector.html 1304280 2012-03-23 11:18:01Z ilgrosso $

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