org.apache.openejb.jee
Class JaxbJavaee

java.lang.Object
  extended by org.apache.openejb.jee.JaxbJavaee

public class JaxbJavaee
extends 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 ThreadLocal<Set<String>> currentPublicId
           
 
Constructor Summary
JaxbJavaee()
           
 
Method Summary
static
<T> String
marshal(Class<T> type, Object object)
           
static
<T> void
marshal(Class<T> type, Object object, OutputStream out)
           
static
<T> Object
unmarshal(Class<T> type, 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 ThreadLocal<Set<String>> currentPublicId
Constructor Detail

JaxbJavaee

public JaxbJavaee()
Method Detail

marshal

public static <T> String marshal(Class<T> type,
                                 Object object)
                      throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

marshal

public static <T> void marshal(Class<T> type,
                               Object object,
                               OutputStream out)
                    throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

unmarshal

public static <T> Object unmarshal(Class<T> type,
                                   InputStream in)
                        throws ParserConfigurationException,
                               SAXException,
                               javax.xml.bind.JAXBException
Throws:
ParserConfigurationException
SAXException
javax.xml.bind.JAXBException


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.