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; } }