public class XmlPropertyMapAdapter extends XmlAdapter<Task.Properties,LinkedHashMap<String,String>>
| Constructor and Description |
|---|
XmlPropertyMapAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Task.Properties |
marshal(LinkedHashMap<String,String> map) |
LinkedHashMap<String,String> |
unmarshal(Task.Properties properties) |
public Task.Properties marshal(LinkedHashMap<String,String> map) throws Exception
marshal in class XmlAdapter<Task.Properties,LinkedHashMap<String,String>>Exceptionpublic LinkedHashMap<String,String> unmarshal(Task.Properties properties) throws Exception
unmarshal in class XmlAdapter<Task.Properties,LinkedHashMap<String,String>>ExceptionCopyright © 2016 Alibaba Cloud Computing. All rights reserved.