2016/05/28 - Apache Tuscany has been retired. 
For more information, please explore the Attic. 
 
org.apache.tuscany.sca.databinding.jaxb.axiom
Class JAXBDataSource
java.lang.Object
  
org.apache.tuscany.sca.databinding.jaxb.axiom.JAXBDataSource
public class JAXBDataSource
- extends java.lang.Object
 
| 
Constructor Summary | 
JAXBDataSource(java.lang.Object element,
               javax.xml.bind.JAXBContext context)
 
            | 
 
| 
Method Summary | 
 java.lang.Object | 
getObject()
 
            | 
 javax.xml.stream.XMLStreamReader | 
getReader()
 
            | 
 void | 
serialize(java.io.OutputStream output,
          OMOutputFormat format)
 
            | 
 void | 
serialize(java.io.Writer writer,
          OMOutputFormat format)
 
            | 
 void | 
serialize(javax.xml.stream.XMLStreamWriter xmlWriter)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JAXBDataSource
public JAXBDataSource(java.lang.Object element,
                      javax.xml.bind.JAXBContext context)
getReader
public javax.xml.stream.XMLStreamReader getReader()
                                           throws javax.xml.stream.XMLStreamException
- Throws:
 javax.xml.stream.XMLStreamException
 
serialize
public void serialize(javax.xml.stream.XMLStreamWriter xmlWriter)
               throws javax.xml.stream.XMLStreamException
- Throws:
 javax.xml.stream.XMLStreamException
 
serialize
public void serialize(java.io.OutputStream output,
                      OMOutputFormat format)
               throws javax.xml.stream.XMLStreamException
- Throws:
 javax.xml.stream.XMLStreamException
 
serialize
public void serialize(java.io.Writer writer,
                      OMOutputFormat format)
               throws javax.xml.stream.XMLStreamException
- Throws:
 javax.xml.stream.XMLStreamException
 
getObject
public java.lang.Object getObject()