public class JaxbOpenejbJar2
extends java.lang.Object
Constructor and Description |
---|
JaxbOpenejbJar2() |
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) |
static <T> java.lang.Object |
unmarshal(java.lang.Class<T> type,
java.io.InputStream in,
boolean logErrors) |
public static <T> java.lang.String marshal(java.lang.Class<T> type, java.lang.Object object) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public static <T> void marshal(java.lang.Class<T> type, java.lang.Object object, java.io.OutputStream out) throws javax.xml.bind.JAXBException
javax.xml.bind.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, javax.xml.bind.JAXBException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
javax.xml.bind.JAXBException
public static <T> java.lang.Object unmarshal(java.lang.Class<T> type, java.io.InputStream in, boolean logErrors) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, javax.xml.bind.JAXBException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
javax.xml.bind.JAXBException