public abstract class XmlHelper extends Object
| Constructor and Description |
|---|
XmlHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
convertXmlByClass(String json,
Class<T> clazz) |
static String |
getXmlString(Object o) |
static com.fasterxml.jackson.dataformat.xml.XmlMapper |
newConfiguredMapper() |
static com.fasterxml.jackson.dataformat.xml.XmlMapper |
newMapper() |
public static <T> T convertXmlByClass(String json, Class<T> clazz) throws IOException
IOExceptionpublic static com.fasterxml.jackson.dataformat.xml.XmlMapper newConfiguredMapper()
public static com.fasterxml.jackson.dataformat.xml.XmlMapper newMapper()
Copyright © 2018. All rights reserved.