shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.ishop.merchant.util;
 
//import com.fasterxml.jackson.dataformat.xml.XmlMapper;
 
@Deprecated
public class XmlUtils {
 
//    private static final ObjectMapper mapper = new XmlMapper();
 
    public static final String toXmlString(Object javaObject) throws Exception{
//        return mapper.writeValueAsString(javaObject);
        //XML格式转换为Java对象
//        ObjectMapper mapper = new XmlMapper();
//        Obj obj = mapper.readValue(xmlString, Obj.class);
        return null;
    }
}