public class StringKeyStringValueMapXmlAdapter extends XmlAdapter<StringKeyStringValueMap,Map<String,String>>
XmlAdapter for mapping MapThe most important reason for the existence of this class is that it works well with jackson JSON! JaxbMapAdapter, on the other hand, does not!
| Constructor and Description |
|---|
StringKeyStringValueMapXmlAdapter() |
| Modifier and Type | Method and Description |
|---|---|
StringKeyStringValueMap |
marshal(Map<String,String> map) |
Map<String,String> |
unmarshal(StringKeyStringValueMap xmlMap) |
public StringKeyStringValueMap marshal(Map<String,String> map) throws Exception
marshal in class XmlAdapter<StringKeyStringValueMap,Map<String,String>>Exceptionpublic Map<String,String> unmarshal(StringKeyStringValueMap xmlMap)
unmarshal in class XmlAdapter<StringKeyStringValueMap,Map<String,String>>Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.