org.apache.pluto.om.portlet
Interface ContentTypeSet

All Superinterfaces:
Model

public interface ContentTypeSet
extends Model

This interface provides access to a set of ContentType objects.

This interface defines the model as known from the MVC pattern. Its purpose is to provide read access to the data stored in the model.


Method Summary
 ContentType get(java.lang.String contentType)
          Returns the content type of the given contentType string The return value can be NULL.
 java.util.Iterator iterator()
          Returns all content types as iterator
 boolean supportsPortletMode(javax.portlet.PortletMode portletMode)
          Return true if the given portlet mode is supported for any content type in this set.
 

Method Detail

iterator

public java.util.Iterator iterator()
Returns all content types as iterator

Returns:
An iterator containing ContentType objects

get

public ContentType get(java.lang.String contentType)
Returns the content type of the given contentType string The return value can be NULL.

Returns:
the content type object

supportsPortletMode

public boolean supportsPortletMode(javax.portlet.PortletMode portletMode)
Return true if the given portlet mode is supported for any content type in this set.



Copyright © 2003-2005 . All Rights Reserved.