org.apache.openejb.jee.wls
Class JaxbWls

java.lang.Object
  extended by org.apache.openejb.jee.wls.JaxbWls

public class JaxbWls
extends Object

Version:
$Rev: 662143 $ $Date: 2008-05-31 20:59:55 -0700 (Sat, 31 May 2008) $

Nested Class Summary
static class JaxbWls.NamespaceFilter
           
 
Field Summary
static ThreadLocal<Set<String>> currentPublicId
           
 
Constructor Summary
JaxbWls()
           
 
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

JaxbWls

public JaxbWls()
Method Detail

marshal

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

marshal

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

unmarshal

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


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.