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:
jakarta.activation.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 -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(OutputStream output, org.apache.axiom.om.OMOutputFormat format) voidvoidserialize(XMLStreamWriter xmlWriter) Methods inherited from class org.apache.axiom.attachments.ByteArrayDataSource
getInputStream, getName, getOutputStream, getSize, setType
-
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 interfacejakarta.activation.DataSource- 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
- Specified by:
serializein interfaceorg.apache.axiom.om.OMDataSource- Throws:
XMLStreamException
-
getReader
- Specified by:
getReaderin interfaceorg.apache.axiom.om.OMDataSource- Throws:
XMLStreamException
-