public class MapAdapter extends XmlAdapter<MapEntryListType,Map<String,String>>
<fields> <field name="key1">value1</elem> <field name="key2">value2</elem> <field name="key3">value3</elem> </fields>
| Constructor and Description |
|---|
MapAdapter() |
| Modifier and Type | Method and Description |
|---|---|
MapEntryListType |
marshal(Map<String,String> map) |
Map<String,String> |
unmarshal(MapEntryListType entryList) |
public MapEntryListType marshal(Map<String,String> map) throws Exception
marshal in class XmlAdapter<MapEntryListType,Map<String,String>>Exceptionpublic Map<String,String> unmarshal(MapEntryListType entryList) throws Exception
unmarshal in class XmlAdapter<MapEntryListType,Map<String,String>>ExceptionCopyright © 2009-2013. All Rights Reserved.