org.apache.axis2.builder
Class DataSourceBuilder.ByteArrayDataSourceEx
java.lang.Object
javax.mail.util.ByteArrayDataSource
org.apache.axis2.builder.DataSourceBuilder.ByteArrayDataSourceEx
- All Implemented Interfaces:
- DataSource, org.apache.axiom.om.OMDataSource
- Enclosing class:
- DataSourceBuilder
public class DataSourceBuilder.ByteArrayDataSourceEx
- extends ByteArrayDataSource
- implements org.apache.axiom.om.OMDataSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceBuilder.ByteArrayDataSourceEx
public DataSourceBuilder.ByteArrayDataSourceEx(byte[] bytes,
String s)
serialize
public void serialize(OutputStream output,
org.apache.axiom.om.OMOutputFormat format)
throws XMLStreamException
- Specified by:
serialize
in interface org.apache.axiom.om.OMDataSource
- Throws:
XMLStreamException
getContentType
public String getContentType()
- Specified by:
getContentType
in interface DataSource
- Overrides:
getContentType
in class ByteArrayDataSource
serialize
public void serialize(Writer writer,
org.apache.axiom.om.OMOutputFormat format)
throws XMLStreamException
- Specified by:
serialize
in interface org.apache.axiom.om.OMDataSource
- Throws:
XMLStreamException
serialize
public void serialize(XMLStreamWriter xmlWriter)
throws XMLStreamException
- Specified by:
serialize
in interface org.apache.axiom.om.OMDataSource
- Throws:
XMLStreamException
getReader
public XMLStreamReader getReader()
throws XMLStreamException
- Specified by:
getReader
in interface org.apache.axiom.om.OMDataSource
- Throws:
XMLStreamException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.