org.apache.openejb.jee.jpa
Class JpaJaxbUtil
java.lang.Object
org.apache.openejb.jee.jpa.JpaJaxbUtil
public class JpaJaxbUtil
- extends java.lang.Object
- Version:
- $Rev: 668883 $ $Date: 2008-06-18 02:36:10 +0200 (Mi, 18. Jun 2008) $
Method Summary |
static
|
marshal(java.lang.Class<T> type,
java.lang.Object object)
|
static
|
marshal(java.lang.Class<T> type,
java.lang.Object object,
java.io.OutputStream out)
|
static
|
unmarshal(java.lang.Class<T> type,
java.io.InputStream in)
|
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> java.lang.String marshal(java.lang.Class<T> type,
java.lang.Object object)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
marshal
public static <T> void marshal(java.lang.Class<T> type,
java.lang.Object object,
java.io.OutputStream out)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
unmarshal
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,
javax.xml.bind.JAXBException
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
javax.xml.bind.JAXBException
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.