Package org.apache.axis2.builder
Class DataSourceBuilder.ByteArrayDataSourceEx
- java.lang.Object
-
- org.apache.axiom.attachments.ByteArrayDataSource
-
- org.apache.axis2.builder.DataSourceBuilder.ByteArrayDataSourceEx
-
- All Implemented Interfaces:
DataSource,org.apache.axiom.ext.activation.SizeAwareDataSource,org.apache.axiom.om.OMDataSource
- Enclosing class:
- DataSourceBuilder
public class DataSourceBuilder.ByteArrayDataSourceEx extends org.apache.axiom.attachments.ByteArrayDataSource implements org.apache.axiom.om.OMDataSource
-
-
Constructor Summary
Constructors Constructor Description ByteArrayDataSourceEx(byte[] bytes, String s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentType()XMLStreamReadergetReader()voidserialize(OutputStream output, org.apache.axiom.om.OMOutputFormat format)voidserialize(Writer writer, org.apache.axiom.om.OMOutputFormat format)voidserialize(XMLStreamWriter xmlWriter)
-
-
-
Constructor Detail
-
ByteArrayDataSourceEx
public ByteArrayDataSourceEx(byte[] bytes, String s)
-
-
Method Detail
-
serialize
public void serialize(OutputStream output, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
- Specified by:
serializein interfaceorg.apache.axiom.om.OMDataSource- Throws:
XMLStreamException
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceDataSource- Overrides:
getContentTypein classorg.apache.axiom.attachments.ByteArrayDataSource
-
serialize
public void serialize(Writer writer, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
- Specified by:
serializein interfaceorg.apache.axiom.om.OMDataSource- Throws:
XMLStreamException
-
serialize
public void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
- Specified by:
serializein interfaceorg.apache.axiom.om.OMDataSource- Throws:
XMLStreamException
-
getReader
public XMLStreamReader getReader() throws XMLStreamException
- Specified by:
getReaderin interfaceorg.apache.axiom.om.OMDataSource- Throws:
XMLStreamException
-
-