public class JaxbOpenejbJar2 extends Object
| Constructor and Description |
|---|
JaxbOpenejbJar2() |
| Modifier and Type | Method and Description |
|---|---|
static <T> String |
marshal(Class<T> type,
Object object) |
static <T> void |
marshal(Class<T> type,
Object object,
OutputStream out) |
static <T> Object |
unmarshal(Class<T> type,
InputStream in) |
static <T> Object |
unmarshal(Class<T> type,
InputStream in,
boolean logErrors) |
public static <T> String marshal(Class<T> type, Object object) throws JAXBException
JAXBExceptionpublic static <T> void marshal(Class<T> type, Object object, OutputStream out) throws JAXBException
JAXBExceptionpublic static <T> Object unmarshal(Class<T> type, InputStream in) throws ParserConfigurationException, SAXException, JAXBException
public static <T> Object unmarshal(Class<T> type, InputStream in, boolean logErrors) throws ParserConfigurationException, SAXException, JAXBException
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.