2016/05/28 - Apache Tuscany has been retired.

For more information, please explore the Attic.



org.apache.tuscany.sca.databinding.jaxb.axiom.ext
Class SourceDataSource

java.lang.Object
  extended by org.apache.tuscany.sca.databinding.jaxb.axiom.ext.SourceDataSource

public class SourceDataSource
extends java.lang.Object

OMDataSource backed by a source


Constructor Summary
SourceDataSource(javax.xml.transform.Source data)
           
 
Method Summary
 void close()
           
 java.lang.Object getObject()
           
 javax.xml.stream.XMLStreamReader getReader()
           
 byte[] getXMLBytes(java.lang.String encoding)
           
 boolean isDestructiveRead()
           
 boolean isDestructiveWrite()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceDataSource

public SourceDataSource(javax.xml.transform.Source data)
Method Detail

close

public void close()

getObject

public java.lang.Object getObject()

getReader

public javax.xml.stream.XMLStreamReader getReader()
                                           throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

getXMLBytes

public byte[] getXMLBytes(java.lang.String encoding)
                   throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

isDestructiveRead

public boolean isDestructiveRead()

isDestructiveWrite

public boolean isDestructiveWrite()