org.apache.cocoon.webapps.session
Interface MediaManager

All Known Implementing Classes:
DefaultMediaManager

public interface MediaManager

This is the media manager. It provides simple support for developing multi-channel applications

Version:
CVS $Id: MediaManager.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Carsten Ziegeler

Field Summary
static String ROLE
          The Avalon Role
 
Method Summary
 String getMediaType()
          Return the current media type
 String[] getMediaTypes()
          Get all media type names
 boolean testMedia(String value)
          Test if the media of the current request is the given value
 

Field Detail

ROLE

public static final String ROLE
The Avalon Role

Method Detail

testMedia

public boolean testMedia(String value)
Test if the media of the current request is the given value


getMediaTypes

public String[] getMediaTypes()
Get all media type names


getMediaType

public String getMediaType()
Return the current media type



Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.