org.codehaus.xfire.util
Class OutMessageDataSource
java.lang.Object
org.codehaus.xfire.util.OutMessageDataSource
- All Implemented Interfaces:
- javax.activation.DataSource
public class OutMessageDataSource
- extends java.lang.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 java.lang.String getContentType()
- Specified by:
getContentType
in interface javax.activation.DataSource
getSoapContentType
public java.lang.String getSoapContentType()
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Specified by:
getInputStream
in interface javax.activation.DataSource
- Throws:
java.io.IOException
createInputStream
public java.io.InputStream createInputStream()
throws XFireException
- Throws:
XFireException
getName
public java.lang.String getName()
- Specified by:
getName
in interface javax.activation.DataSource
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Specified by:
getOutputStream
in interface javax.activation.DataSource
- Throws:
java.io.IOException
dispose
public void dispose()
Copyright © 2004-2011. All Rights Reserved.