|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.cocoon.webapps.session.components.DefaultMediaManager
public final class DefaultMediaManager
This is the default implementation for the media manager
Field Summary | |
---|---|
protected org.apache.cocoon.webapps.session.components.PreparedMediaType[] |
allMediaTypes
Deprecated. The media Types |
protected Context |
context
Deprecated. The Context |
protected String |
defaultMediaType
Deprecated. The default media type (usually this is html) |
protected String[] |
mediaTypeNames
Deprecated. All media type names |
Fields inherited from interface org.apache.cocoon.webapps.session.MediaManager |
---|
ROLE |
Constructor Summary | |
---|---|
DefaultMediaManager()
Deprecated. |
Method Summary | |
---|---|
void |
configure(Configuration myConfiguration)
Deprecated. |
void |
contextualize(Context context)
Deprecated. |
String |
getMediaType()
Deprecated. Return the current media type |
String[] |
getMediaTypes()
Deprecated. Get all media type names |
boolean |
testMedia(String value)
Deprecated. Test if the media of the current request is the given value |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.cocoon.webapps.session.components.PreparedMediaType[] allMediaTypes
protected String defaultMediaType
protected String[] mediaTypeNames
protected Context context
Constructor Detail |
---|
public DefaultMediaManager()
Method Detail |
---|
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
public void configure(Configuration myConfiguration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public boolean testMedia(String value)
testMedia
in interface MediaManager
public String[] getMediaTypes()
MediaManager
getMediaTypes
in interface MediaManager
public String getMediaType()
MediaManager
getMediaType
in interface MediaManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |