org.apache.openejb.jee.jpa
Class JpaJaxbUtil
java.lang.Object
org.apache.openejb.jee.jpa.JpaJaxbUtil
public class JpaJaxbUtil
- extends Object
- Version:
- $Rev: 668883 $ $Date: 2008-06-18 02:36:10 +0200 (Mi, 18. Jun 2008) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JpaJaxbUtil
public JpaJaxbUtil()
marshal
public static <T> String marshal(Class<T> type,
Object object)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
marshal
public static <T> void marshal(Class<T> type,
Object object,
OutputStream out)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
unmarshal
public static <T> Object unmarshal(Class<T> type,
InputStream in)
throws ParserConfigurationException,
SAXException,
javax.xml.bind.JAXBException
- Throws:
ParserConfigurationException
SAXException
javax.xml.bind.JAXBException
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.