org.apache.cocoon.webapps.session.selection
Class MediaSelector

java.lang.Object
  extended byorg.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

Field Summary
 
Fields inherited from interface org.apache.cocoon.selection.Selector
ROLE
 
Constructor Summary
MediaSelector()
           
 
Method Summary
 boolean select(String expression, Map objectModel, Parameters parameters)
          Selector
 void service(ServiceManager manager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaSelector

public MediaSelector()
Method Detail

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.