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:
OMDataSource,OMDataSourceExt
public class SourceDataSource extends AbstractPullOMDataSource
OMDataSource 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
-
Methods inherited from class org.apache.axiom.om.ds.AbstractOMDataSource
close, copy, getProperty, getXMLBytes, getXMLInputStream, hasProperty, serialize, serialize, setProperty
-
-
-
-
Constructor Detail
-
SourceDataSource
public SourceDataSource(Source data)
-
-
Method Detail
-
getObject
public Source getObject()
- Specified by:
getObjectin interfaceOMDataSourceExt- Overrides:
getObjectin classAbstractOMDataSource
-
getReader
public XMLStreamReader getReader() throws XMLStreamException
- Throws:
XMLStreamException
-
isDestructiveRead
public boolean isDestructiveRead()
-
-