org.apache.openejb.jee.sun
Class JaxbSun

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

public class JaxbSun
extends java.lang.Object

Version:
$Rev: 662143 $ $Date: 2008-06-01 05:59:55 +0200 (So, 01. Jun 2008) $

Nested Class Summary
static class JaxbSun.NamespaceFilter
           
 
Constructor Summary
JaxbSun()
           
 
Method Summary
static
<T> java.lang.String
marshal(java.lang.Class<T> type, java.lang.Object object)
           
static
<T> java.lang.Object
unmarshal(java.lang.Class<T> type, java.io.InputStream in)
           
static
<T> java.lang.Object
unmarshal(java.lang.Class<T> type, java.io.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> java.lang.String marshal(java.lang.Class<T> type,
                                           java.lang.Object object)
                                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

unmarshal

public static <T> java.lang.Object unmarshal(java.lang.Class<T> type,
                                             java.io.InputStream in,
                                             boolean logErrors)
                                  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.