public class DataSourceBuilder.ByteArrayDataSourceEx
extends javax.mail.util.ByteArrayDataSource
implements org.apache.axiom.om.OMDataSource
| Constructor and Description |
|---|
ByteArrayDataSourceEx(byte[] bytes,
java.lang.String s) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType() |
javax.xml.stream.XMLStreamReader |
getReader() |
void |
serialize(java.io.OutputStream output,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(java.io.Writer writer,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(javax.xml.stream.XMLStreamWriter xmlWriter) |
public ByteArrayDataSourceEx(byte[] bytes,
java.lang.String s)
public void serialize(java.io.OutputStream output,
org.apache.axiom.om.OMOutputFormat format)
throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourcejavax.xml.stream.XMLStreamExceptionpublic java.lang.String getContentType()
getContentType in interface javax.activation.DataSourcegetContentType in class javax.mail.util.ByteArrayDataSourcepublic void serialize(java.io.Writer writer,
org.apache.axiom.om.OMOutputFormat format)
throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourcejavax.xml.stream.XMLStreamExceptionpublic void serialize(javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourcejavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamReader getReader()
throws javax.xml.stream.XMLStreamException
getReader in interface org.apache.axiom.om.OMDataSourcejavax.xml.stream.XMLStreamExceptionCopyright © 2004-2021 The Apache Software Foundation. All Rights Reserved.