public class JaxbSun
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JaxbSun.NamespaceFilter |
Constructor and Description |
---|
JaxbSun() |
Modifier and Type | Method and Description |
---|---|
static <T> java.lang.String |
marshal(java.lang.Class<T> type,
java.lang.Object object) |
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 JAXBException
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, JAXBException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
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, JAXBException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
JAXBException