public class DataSourceBuilder.ByteArrayDataSourceEx
extends javax.mail.util.ByteArrayDataSource
implements org.apache.axiom.om.OMDataSource
Constructor and Description |
---|
DataSourceBuilder.ByteArrayDataSourceEx(byte[] bytes,
String s) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
javax.xml.stream.XMLStreamReader |
getReader() |
void |
serialize(OutputStream output,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(Writer writer,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(javax.xml.stream.XMLStreamWriter xmlWriter) |
public DataSourceBuilder.ByteArrayDataSourceEx(byte[] bytes, String s)
public void serialize(OutputStream output, org.apache.axiom.om.OMOutputFormat format) throws javax.xml.stream.XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
javax.xml.stream.XMLStreamException
public String getContentType()
getContentType
in interface javax.activation.DataSource
getContentType
in class javax.mail.util.ByteArrayDataSource
public void serialize(Writer writer, org.apache.axiom.om.OMOutputFormat format) throws javax.xml.stream.XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
javax.xml.stream.XMLStreamException
public void serialize(javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamReader getReader() throws javax.xml.stream.XMLStreamException
getReader
in interface org.apache.axiom.om.OMDataSource
javax.xml.stream.XMLStreamException
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.