Package org.apache.openejb.jee.oejb2
Class JaxbOpenejbJar2
- java.lang.Object
-
- org.apache.openejb.jee.oejb2.JaxbOpenejbJar2
-
public class JaxbOpenejbJar2 extends Object
- Version:
- $Rev$ $Date$
-
-
Constructor Summary
Constructors Constructor Description JaxbOpenejbJar2()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Stringmarshal(Class<T> type, Object object)static <T> voidmarshal(Class<T> type, Object object, OutputStream out)static <T> Objectunmarshal(Class<T> type, InputStream in)static <T> Objectunmarshal(Class<T> type, InputStream in, boolean logErrors)
-
-
-
Method Detail
-
marshal
public static <T> String marshal(Class<T> type, Object object) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public static <T> void marshal(Class<T> type, Object object, OutputStream out) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
public static <T> Object unmarshal(Class<T> type, InputStream in) throws ParserConfigurationException, SAXException, jakarta.xml.bind.JAXBException
- Throws:
ParserConfigurationExceptionSAXExceptionjakarta.xml.bind.JAXBException
-
unmarshal
public static <T> Object unmarshal(Class<T> type, InputStream in, boolean logErrors) throws ParserConfigurationException, SAXException, jakarta.xml.bind.JAXBException
- Throws:
ParserConfigurationExceptionSAXExceptionjakarta.xml.bind.JAXBException
-
-