org.apache.openejb.jee
Class JaxbJavaee
java.lang.Object
org.apache.openejb.jee.JaxbJavaee
public class JaxbJavaee
- extends java.lang.Object
- Version:
- $Rev: 967244 $ $Date: 2010-07-23 22:24:46 +0200 (Fr, 23. Jul 2010) $
Field Summary |
static java.lang.ThreadLocal<java.util.Set<java.lang.String>> |
currentPublicId
|
Method Summary |
static
|
marshal(java.lang.Class<T> type,
java.lang.Object object)
|
static
|
marshal(java.lang.Class<T> type,
java.lang.Object object,
java.io.OutputStream out)
|
static
|
unmarshal(java.lang.Class<T> type,
java.io.InputStream in)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentPublicId
public static final java.lang.ThreadLocal<java.util.Set<java.lang.String>> currentPublicId
JaxbJavaee
public JaxbJavaee()
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
marshal
public static <T> void marshal(java.lang.Class<T> type,
java.lang.Object object,
java.io.OutputStream out)
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
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.