public class DTOUtil extends Object
Constructor and Description |
---|
DTOUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
toObject(String xml,
Class<T> clazz) |
static <T> String |
toXML(T obj) |
public static <T> String toXML(T obj)
public static <T> T toObject(String xml, Class<T> clazz) throws JAXBException
JAXBException
Copyright © 2015 Zanata Project. All rights reserved.