org.codehaus.xfire.attachments
Interface Attachments

All Known Implementing Classes:
JavaMailAttachments, StreamedAttachments

public interface Attachments

Manages attachments for an invocation.

Author:
Dan Diephouse
See Also:
AbstractMessage

Method Summary
 void addPart(Attachment part)
           
 java.lang.String getContentType()
          Get the conetnt type of the whole message.
 Attachment getPart(java.lang.String id)
           
 java.util.Iterator getParts()
           
 java.lang.String getSoapContentType()
          Get the content type of the soap message.
 Attachment getSoapMessage()
           
 void setSoapContentType(java.lang.String soapMimeType)
          Set the content type of the soap message.
 void setSoapMessage(Attachment soapMessage)
           
 int size()
           
 void write(java.io.OutputStream out)
           
 

Method Detail

getSoapMessage

Attachment getSoapMessage()
Returns:
Returns the SOAP Message.

setSoapMessage

void setSoapMessage(Attachment soapMessage)
Parameters:
soapMessage - The SOAP Message to set.

addPart

void addPart(Attachment part)

getParts

java.util.Iterator getParts()

getPart

Attachment getPart(java.lang.String id)

size

int size()

write

void write(java.io.OutputStream out)
           throws java.io.IOException
Throws:
java.io.IOException

getContentType

java.lang.String getContentType()
Get the conetnt type of the whole message.

Returns:

getSoapContentType

java.lang.String getSoapContentType()
Get the content type of the soap message.

Returns:

setSoapContentType

void setSoapContentType(java.lang.String soapMimeType)
Set the content type of the soap message.

Parameters:
soapMimeType -


Copyright © 2004-2008. All Rights Reserved.