org.jboss.portal.portlet.impl.metadata.adapter
Class PortletListAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<java.util.List<PortletMetaData>,java.util.Map<java.lang.String,PortletMetaData>>
      extended by org.jboss.portal.portlet.impl.metadata.adapter.PortletListAdapter

public final class PortletListAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.util.List<PortletMetaData>,java.util.Map<java.lang.String,PortletMetaData>>

Version:
$Revision$
Author:
Emanuel Muckenhuber

Constructor Summary
PortletListAdapter()
           
 
Method Summary
 java.util.List<PortletMetaData> marshal(java.util.Map<java.lang.String,PortletMetaData> portletMap)
           
 java.util.Map<java.lang.String,PortletMetaData> unmarshal(java.util.List<PortletMetaData> portletList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletListAdapter

public PortletListAdapter()
Method Detail

marshal

public java.util.List<PortletMetaData> marshal(java.util.Map<java.lang.String,PortletMetaData> portletMap)
                                        throws java.lang.Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.util.List<PortletMetaData>,java.util.Map<java.lang.String,PortletMetaData>>
Throws:
java.lang.Exception

unmarshal

public java.util.Map<java.lang.String,PortletMetaData> unmarshal(java.util.List<PortletMetaData> portletList)
                                                          throws java.lang.Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.util.List<PortletMetaData>,java.util.Map<java.lang.String,PortletMetaData>>
Throws:
java.lang.Exception


Copyright © 2008. All Rights Reserved.