Package org.apache.axis2.datasource
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.AbstractPullOMDataSourceOMDataSource backed by a source
-
-
Constructor Summary
Constructors Constructor Description SourceDataSource(Source data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourcegetObject()XMLStreamReadergetReader()booleanisDestructiveRead()-
Methods inherited from class org.apache.axiom.om.ds.AbstractPullOMDataSource
isDestructiveWrite, serialize
-
-
-
-
Constructor Detail
-
SourceDataSource
public SourceDataSource(Source data)
-
-
Method Detail
-
getObject
public Source getObject()
- Specified by:
getObjectin interfaceorg.apache.axiom.om.OMDataSourceExt- Overrides:
getObjectin classorg.apache.axiom.om.ds.AbstractOMDataSource
-
getReader
public XMLStreamReader getReader() throws XMLStreamException
- Throws:
XMLStreamException
-
isDestructiveRead
public boolean isDestructiveRead()
-
-