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)
           
 String getContentType()
          Get the conetnt type of the whole message.
 Attachment getPart(String id)
           
 Iterator getParts()
           
 String getSoapContentType()
          Get the content type of the soap message.
 Attachment getSoapMessage()
           
 void setSoapContentType(String soapMimeType)
          Set the content type of the soap message.
 void setSoapMessage(Attachment soapMessage)
           
 int size()
           
 void write(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

Iterator getParts()

getPart

Attachment getPart(String id)

size

int size()

write

void write(OutputStream out)
           throws IOException
Throws:
IOException

getContentType

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

Returns:

getSoapContentType

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

Returns:

setSoapContentType

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

Parameters:
soapMimeType -


Copyright © 2004-2013. All Rights Reserved.