public class DataSourceBuilder.ByteArrayDataSourceEx
extends org.apache.axiom.attachments.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.OMDataSourcejavax.xml.stream.XMLStreamExceptionpublic String getContentType()
getContentType in interface javax.activation.DataSourcegetContentType in class org.apache.axiom.attachments.ByteArrayDataSourcepublic void serialize(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–2015 The Apache Software Foundation. All rights reserved.