org.apache.openejb.jee.oejb2
Class JaxbOpenejbJar2

java.lang.Object
  extended by org.apache.openejb.jee.oejb2.JaxbOpenejbJar2

public class JaxbOpenejbJar2
extends Object

Version:
$Rev: 934317 $ $Date: 2010-04-15 09:39:43 +0200 (Do, 15. Apr 2010) $

Constructor Summary
JaxbOpenejbJar2()
           
 
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)
           
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

JaxbOpenejbJar2

public JaxbOpenejbJar2()
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

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-2013 The Apache OpenEJB development community. All Rights Reserved.