"[" + portlet.getPortletName() + "]");
Iterator supports = portlet.getSupports().iterator();
Set pModes = new HashSet();
while (supports.hasNext())
{
SupportsDD supportsDD = (SupportsDD)supports.next();
Iterator portletModes = supportsDD.getPortletModes().iterator();
while (portletModes.hasNext())
{
PortletMode pMode = new PortletMode((String)portletModes.next());
LOG.debug("Adding mode [" + pMode + "]");