Package org.apache.axis2.builder
Class DataSourceBuilder.ByteArrayDataSourceEx
java.lang.Object
javax.mail.util.ByteArrayDataSource
org.apache.axis2.builder.DataSourceBuilder.ByteArrayDataSourceEx
- All Implemented Interfaces:
DataSource,org.apache.axiom.om.OMDataSource
- Enclosing class:
DataSourceBuilder
public class DataSourceBuilder.ByteArrayDataSourceEx
extends javax.mail.util.ByteArrayDataSource
implements org.apache.axiom.om.OMDataSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(OutputStream output, org.apache.axiom.om.OMOutputFormat format) voidvoidserialize(XMLStreamWriter xmlWriter) Methods inherited from class javax.mail.util.ByteArrayDataSource
getInputStream, getName, getOutputStream, setName
-
Constructor Details
-
ByteArrayDataSourceEx
-
-
Method Details
-
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
- Specified by:
getContentTypein interfaceDataSource- Overrides:
getContentTypein classjavax.mail.util.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
- Specified by:
serializein interfaceorg.apache.axiom.om.OMDataSource- Throws:
XMLStreamException
-
getReader
- Specified by:
getReaderin interfaceorg.apache.axiom.om.OMDataSource- Throws:
XMLStreamException
-