org.apache.openejb.jee.sun
Class JaxbSun
java.lang.Object
org.apache.openejb.jee.sun.JaxbSun
public class JaxbSun
- extends java.lang.Object
- Version:
- $Rev: 662143 $ $Date: 2008-06-01 05:59:55 +0200 (So, 01. Jun 2008) $
Method Summary |
static
|
marshal(java.lang.Class<T> type,
java.lang.Object object)
|
static
|
unmarshal(java.lang.Class<T> type,
java.io.InputStream in)
|
static
|
unmarshal(java.lang.Class<T> type,
java.io.InputStream in,
boolean logErrors)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaxbSun
public JaxbSun()
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
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
unmarshal
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
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
javax.xml.bind.JAXBException
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.