org.apache.openejb.jee
Class JaxbJavaee

java.lang.Object
  extended by 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) $

Nested Class Summary
static class JaxbJavaee.NamespaceFilter
           
 
Field Summary
static java.lang.ThreadLocal<java.util.Set<java.lang.String>> currentPublicId
           
 
Constructor Summary
JaxbJavaee()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentPublicId

public static final java.lang.ThreadLocal<java.util.Set<java.lang.String>> currentPublicId
Constructor Detail

JaxbJavaee

public JaxbJavaee()
Method Detail

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.