public class XmlUtils extends Object
| Constructor and Description |
|---|
XmlUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
fromXml(String responseBody,
Class<T> c) |
static <T> String |
toXml(T object) |
public static <T> T fromXml(String responseBody, Class<T> c) throws JAXBException, XMLStreamException
JAXBExceptionXMLStreamExceptionpublic static <T> String toXml(T object) throws JAXBException
JAXBExceptionCopyright © 2018. All rights reserved.