public class StringKeyObjectValueMapXmlAdapter extends XmlAdapter<StringKeyObjectValueMap,Map<String,Object>>
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 |
|---|
StringKeyObjectValueMapXmlAdapter() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
deserializeObject(byte[] objBytes,
String className,
String key) |
StringKeyObjectValueMap |
marshal(Map<String,Object> map) |
static byte[] |
serializeObject(Object obj,
String key) |
Map<String,Object> |
unmarshal(StringKeyObjectValueMap xmlMap) |
public StringKeyObjectValueMap marshal(Map<String,Object> map) throws Exception
marshal in class XmlAdapter<StringKeyObjectValueMap,Map<String,Object>>Exceptionpublic Map<String,Object> unmarshal(StringKeyObjectValueMap xmlMap)
unmarshal in class XmlAdapter<StringKeyObjectValueMap,Map<String,Object>>Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.