org.apache.openejb.jee.sun
Class JaxbSun

java.lang.Object
  extended by org.apache.openejb.jee.sun.JaxbSun

public class JaxbSun
extends Object

Version:
$Rev: 607077 $ $Date: 2007-12-27 15:55:23 +0100 (Do, 27. Dez 2007) $

Nested Class Summary
static class JaxbSun.NamespaceFilter
           
 
Constructor Summary
JaxbSun()
           
 
Method Summary
static
<T> String
marshal(Class<T> type, Object object)
           
static
<T> Object
unmarshal(Class<T> type, InputStream in)
           
static
<T> Object
unmarshal(Class<T> type, InputStream in, boolean logErrors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxbSun

public JaxbSun()
Method Detail

marshal

public static <T> String marshal(Class<T> type,
                                 Object object)
                      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

unmarshal

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


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