Class SourceDataSource

java.lang.Object
org.apache.axiom.om.ds.AbstractOMDataSource
org.apache.axiom.om.ds.AbstractPullOMDataSource
org.apache.axis2.datasource.SourceDataSource
All Implemented Interfaces:
org.apache.axiom.om.OMDataSource, org.apache.axiom.om.OMDataSourceExt

public class SourceDataSource extends org.apache.axiom.om.ds.AbstractPullOMDataSource
OMDataSource backed by a source
  • Constructor Details

    • SourceDataSource

      public SourceDataSource(Source data)
  • Method Details

    • getObject

      public Source getObject()
      Specified by:
      getObject in interface org.apache.axiom.om.OMDataSourceExt
      Overrides:
      getObject in class org.apache.axiom.om.ds.AbstractOMDataSource
    • getReader

      public XMLStreamReader getReader() throws XMLStreamException
      Throws:
      XMLStreamException
    • isDestructiveRead

      public boolean isDestructiveRead()