org.apache.cocoon.webapps.session.selection
Class MediaSelector
java.lang.Object
org.apache.cocoon.webapps.session.selection.MediaSelector
- All Implemented Interfaces:
- Selector, Serviceable, ThreadSafe
- public final class MediaSelector
- extends Object
- implements Serviceable, Selector, ThreadSafe
This selector uses the media management.
- Version:
- CVS $Id: MediaSelector.java 30941 2004-07-29 19:56:58Z vgritsenko $
- Author:
- Carsten Ziegeler
Fields inherited from interface org.apache.cocoon.selection.Selector |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaSelector
public MediaSelector()
select
public boolean select(String expression,
Map objectModel,
Parameters parameters)
- Selector
- Specified by:
select
in interface Selector
- 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.
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.