public class DataSourceBuilder.ByteArrayDataSourceEx
extends javax.mail.util.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.OMDataSource
XMLStreamException
public String getContentType()
getContentType
in interface DataSource
getContentType
in class javax.mail.util.ByteArrayDataSource
public void serialize(Writer writer, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
XMLStreamException
public void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
XMLStreamException
public XMLStreamReader getReader() throws XMLStreamException
getReader
in interface org.apache.axiom.om.OMDataSource
XMLStreamException
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.