org.apache.jetspeed.om.registry
Interface MediaTypeEntry

All Superinterfaces:
RegistryEntry
All Known Implementing Classes:
BaseMediaTypeEntry

public interface MediaTypeEntry
extends RegistryEntry

This entry describes all the properties that should be present in a RegistryEntry describing a MediaType FIXME: we should add some additionnal attrbutes for separating 2 versions of the same mime type

Version:
$Id: MediaTypeEntry.java,v 1.5 2005/03/21 18:21:37 sgala Exp $
Author:
RaphaŽl Luta

Method Summary
 CapabilityMap getCapabilityMap()
          Returns all supported capablities as CapabilityMap.
 java.lang.String getCharacterSet()
           
 java.lang.String getMimeType()
           
 void setCharacterSet(java.lang.String charSet)
          Sets the character set associated with this MediaType
 void setMimeType(java.lang.String mimeType)
          Sets the MimeType associated with this MediaType
 
Methods inherited from interface org.apache.jetspeed.om.registry.RegistryEntry
getDescription, getId, getMetaInfo, getName, getSecurity, getSecurityRef, getTitle, isHidden, setDescription, setHidden, setMetaInfo, setName, setSecurity, setSecurityRef, setTitle
 

Method Detail

getMimeType

public java.lang.String getMimeType()
Returns:
the mime type associated with this MediaType

setMimeType

public void setMimeType(java.lang.String mimeType)
Sets the MimeType associated with this MediaType

Parameters:
mimeType - the MIME type to associate

getCharacterSet

public java.lang.String getCharacterSet()
Returns:
the character set associated with this MediaType

setCharacterSet

public void setCharacterSet(java.lang.String charSet)
Sets the character set associated with this MediaType


getCapabilityMap

public CapabilityMap getCapabilityMap()
Returns all supported capablities as CapabilityMap. The CapabilityMap contains all capabilities in arbitrary order.

Returns:
the CapabilityMap
See Also:
CapabilityMap


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.