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 Source
getObject()
XMLStreamReader
getReader()
boolean
isDestructiveRead()
-
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:
getObject
in interfaceOMDataSourceExt
- Overrides:
getObject
in classAbstractOMDataSource
-
getReader
public XMLStreamReader getReader() throws XMLStreamException
- Throws:
XMLStreamException
-
isDestructiveRead
public boolean isDestructiveRead()
-
-