org.codehaus.xfire.util
Class OutMessageDataSource
java.lang.Object
org.codehaus.xfire.util.OutMessageDataSource
- All Implemented Interfaces:
- javax.activation.DataSource
public class OutMessageDataSource
- extends Object
- implements javax.activation.DataSource
This will create a DataSource from a message for use in Attachments.
- Author:
- Dan Diephouse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutMessageDataSource
public OutMessageDataSource(MessageContext context2,
OutMessage message)
throws XFireException
- Throws:
XFireException
getContentType
public String getContentType()
- Specified by:
getContentType
in interface javax.activation.DataSource
getSoapContentType
public String getSoapContentType()
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in interface javax.activation.DataSource
- Throws:
IOException
createInputStream
public InputStream createInputStream()
throws XFireException
- Throws:
XFireException
getName
public String getName()
- Specified by:
getName
in interface javax.activation.DataSource
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Specified by:
getOutputStream
in interface javax.activation.DataSource
- Throws:
IOException
dispose
public void dispose()
Copyright © 2004-2013. All Rights Reserved.