public class JpaJaxbUtil
extends java.lang.Object
Constructor and Description |
---|
JpaJaxbUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> java.lang.String |
marshal(java.lang.Class<T> type,
java.lang.Object object) |
static <T> void |
marshal(java.lang.Class<T> type,
java.lang.Object object,
java.io.OutputStream out) |
static <T> java.lang.Object |
unmarshal(java.lang.Class<T> type,
java.io.InputStream in) |
public static <T> java.lang.String marshal(java.lang.Class<T> type, java.lang.Object object) throws JAXBException
JAXBException
public static <T> void marshal(java.lang.Class<T> type, java.lang.Object object, java.io.OutputStream out) throws JAXBException
JAXBException
public static <T> java.lang.Object unmarshal(java.lang.Class<T> type, java.io.InputStream in) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, JAXBException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
JAXBException