org.apache.openejb.jee.oejb2
Class JaxbOpenejbJar2

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

public class JaxbOpenejbJar2
extends java.lang.Object

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

Constructor Summary
JaxbOpenejbJar2()
           
 
Method Summary
static
<T> java.lang.String
marshal(java.lang.Class<T> type, java.lang.Object object)
           
static
<T> void
marshal(java.lang.Class<T> type, java.lang.Object object, java.io.OutputStream out)
           
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

JaxbOpenejbJar2

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

marshal

public static <T> void marshal(java.lang.Class<T> type,
                               java.lang.Object object,
                               java.io.OutputStream out)
                    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.