public class DataSourceBuilder.ByteArrayDataSourceEx
extends org.apache.axiom.attachments.ByteArrayDataSource
implements org.apache.axiom.om.OMDataSource
| Constructor and Description |
|---|
ByteArrayDataSourceEx(byte[] bytes,
String s) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
XMLStreamReader |
getReader() |
void |
serialize(OutputStream output,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(Writer writer,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(XMLStreamWriter xmlWriter) |
public ByteArrayDataSourceEx(byte[] bytes,
String s)
public void serialize(OutputStream output, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourceXMLStreamExceptionpublic String getContentType()
getContentType in interface DataSourcegetContentType in class org.apache.axiom.attachments.ByteArrayDataSourcepublic void serialize(Writer writer, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourceXMLStreamExceptionpublic void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourceXMLStreamExceptionpublic XMLStreamReader getReader() throws XMLStreamException
getReader in interface org.apache.axiom.om.OMDataSourceXMLStreamExceptionCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.