Class CustomPortletModeAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<List<CustomPortletModeMetaData>,Map<String,CustomPortletModeMetaData>>
-
- org.gatein.pc.portlet.impl.metadata.adapter.CustomPortletModeAdapter
-
public class CustomPortletModeAdapter extends XmlAdapter<List<CustomPortletModeMetaData>,Map<String,CustomPortletModeMetaData>>
- Version:
- $Revision$
- Author:
- Emanuel Muckenhuber
-
-
Constructor Summary
Constructors Constructor Description CustomPortletModeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CustomPortletModeMetaData>marshal(Map<String,CustomPortletModeMetaData> map)Map<String,CustomPortletModeMetaData>unmarshal(List<CustomPortletModeMetaData> list)
-
-
-
Method Detail
-
marshal
public List<CustomPortletModeMetaData> marshal(Map<String,CustomPortletModeMetaData> map) throws Exception
- Specified by:
marshalin classXmlAdapter<List<CustomPortletModeMetaData>,Map<String,CustomPortletModeMetaData>>- Throws:
Exception
-
unmarshal
public Map<String,CustomPortletModeMetaData> unmarshal(List<CustomPortletModeMetaData> list) throws Exception
- Specified by:
unmarshalin classXmlAdapter<List<CustomPortletModeMetaData>,Map<String,CustomPortletModeMetaData>>- Throws:
Exception
-
-