org.apache.jetspeed.om.portlet.impl
Class ContentTypeSetImpl

java.lang.Object
  extended by org.apache.jetspeed.om.portlet.impl.ContentTypeSetImpl
All Implemented Interfaces:
java.io.Serializable, ContentTypeSetComposite, org.apache.pluto.om.Model, org.apache.pluto.om.portlet.ContentTypeSet

public class ContentTypeSetImpl
extends java.lang.Object
implements ContentTypeSetComposite, java.io.Serializable

Author:
Scott T. Weaver
See Also:
Serialized Form

Field Summary
protected  java.util.Collection innerCollection
           
 
Constructor Summary
ContentTypeSetImpl()
           
ContentTypeSetImpl(java.util.Collection collection)
           
 
Method Summary
 boolean add(java.lang.Object o)
           
 void addContentType(org.apache.pluto.om.portlet.ContentType contentType)
           
 org.apache.pluto.om.portlet.ContentType get(java.lang.String contentType)
           
 java.util.Collection getInnerCollection()
           
 java.util.Iterator iterator()
           
 boolean remove(java.lang.Object o)
           
 void setInnerCollection(java.util.Collection collection)
           
 boolean supportsPortletMode(javax.portlet.PortletMode mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

innerCollection

protected java.util.Collection innerCollection
Constructor Detail

ContentTypeSetImpl

public ContentTypeSetImpl()

ContentTypeSetImpl

public ContentTypeSetImpl(java.util.Collection collection)
Method Detail

supportsPortletMode

public boolean supportsPortletMode(javax.portlet.PortletMode mode)
Specified by:
supportsPortletMode in interface org.apache.pluto.om.portlet.ContentTypeSet

get

public org.apache.pluto.om.portlet.ContentType get(java.lang.String contentType)
Specified by:
get in interface org.apache.pluto.om.portlet.ContentTypeSet
See Also:
ContentTypeSet.get(java.lang.String)

add

public boolean add(java.lang.Object o)
See Also:
Collection.add(java.lang.Object)

remove

public boolean remove(java.lang.Object o)
See Also:
Collection.remove(java.lang.Object)

addContentType

public void addContentType(org.apache.pluto.om.portlet.ContentType contentType)
Specified by:
addContentType in interface ContentTypeSetComposite
See Also:
ContentTypeSetComposite.addContentType(org.apache.pluto.om.portlet.ContentType)

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface org.apache.pluto.om.portlet.ContentTypeSet
See Also:
ContentTypeSet.iterator()

getInnerCollection

public java.util.Collection getInnerCollection()
Returns:

setInnerCollection

public void setInnerCollection(java.util.Collection collection)
Parameters:
collection -


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.