org.apache.tuscany.sca.databinding.sdo2om
Class SDODataSource

java.lang.Object
  extended by org.apache.tuscany.sca.databinding.sdo2om.SDODataSource

public class SDODataSource
extends java.lang.Object


Constructor Summary
SDODataSource(DataObject obj, HelperContext helperContext)
           
SDODataSource(XMLDocument source, HelperContext helperContext)
           
 
Method Summary
 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
 

Constructor Detail

SDODataSource

public SDODataSource(XMLDocument source,
                     HelperContext helperContext)

SDODataSource

public SDODataSource(DataObject obj,
                     HelperContext helperContext)
Method Detail

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