org.apache.openejb.sxc
Class Sxc

java.lang.Object
  extended by org.apache.openejb.sxc.Sxc

public class Sxc
extends Object

Version:
$Rev$ $Date$

Constructor Summary
Sxc()
           
 
Method Summary
static void marshal(org.metatype.sxc.jaxb.JAXBObject objectType, Object object, Result result)
           
static void marshall(org.metatype.sxc.jaxb.JAXBObject objectType, Object object, OutputStream outputStream)
           
static XMLStreamReader prepareReader(InputStream inputStream)
           
static
<T> T
unmarhsal(org.metatype.sxc.jaxb.JAXBObject<T> jaxbType, XMLStreamReader xmlStreamReader)
           
static
<T> T
unmarshalJavaee(org.metatype.sxc.jaxb.JAXBObject<T> jaxbType, InputStream inputStream)
           
static
<T> T
unmarshalJavaee(URL resource, org.metatype.sxc.jaxb.JAXBObject<T> jaxbType)
           
static
<T> T
unmarshall(org.metatype.sxc.jaxb.JAXBObject<T> jaxbType, org.metatype.sxc.util.XoXMLStreamReader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sxc

public Sxc()
Method Detail

marshall

public static void marshall(org.metatype.sxc.jaxb.JAXBObject objectType,
                            Object object,
                            OutputStream outputStream)
                     throws JAXBException
Throws:
JAXBException

marshal

public static void marshal(org.metatype.sxc.jaxb.JAXBObject objectType,
                           Object object,
                           Result result)
                    throws JAXBException
Throws:
JAXBException

unmarshalJavaee

public static <T> T unmarshalJavaee(URL resource,
                                    org.metatype.sxc.jaxb.JAXBObject<T> jaxbType)
                         throws Exception
Throws:
Exception

unmarshalJavaee

public static <T> T unmarshalJavaee(org.metatype.sxc.jaxb.JAXBObject<T> jaxbType,
                                    InputStream inputStream)
                         throws Exception
Throws:
Exception

prepareReader

public static XMLStreamReader prepareReader(InputStream inputStream)
                                     throws XMLStreamException
Throws:
XMLStreamException

unmarhsal

public static <T> T unmarhsal(org.metatype.sxc.jaxb.JAXBObject<T> jaxbType,
                              XMLStreamReader xmlStreamReader)
                   throws Exception
Throws:
Exception

unmarshall

public static <T> T unmarshall(org.metatype.sxc.jaxb.JAXBObject<T> jaxbType,
                               org.metatype.sxc.util.XoXMLStreamReader reader)
                    throws Exception
Throws:
Exception


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.