org.codehaus.xfire.attachments
Interface Attachments

All Known Implementing Classes:
JavaMailAttachments

public interface Attachments

Manages attachments for an invocation.

Author:
Dan Diephouse

Field Summary
static java.lang.String ATTACHMENTS_KEY
          The key for the Attachments object in the MessageContext.
 
Method Summary
 void addPart(Attachment part)
           
 java.lang.String getContentType()
           
 Attachment getPart(java.lang.String id)
           
 java.util.Iterator getParts()
           
 Attachment getSoapMessage()
           
 void setSoapMessage(Attachment soapMessage)
           
 int size()
           
 void write(java.io.OutputStream out)
           
 

Field Detail

ATTACHMENTS_KEY

public static final java.lang.String ATTACHMENTS_KEY
The key for the Attachments object in the MessageContext.

See Also:
Constant Field Values
Method Detail

getSoapMessage

public Attachment getSoapMessage()
Returns:
Returns the SOAP Message.

setSoapMessage

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

addPart

public void addPart(Attachment part)

getParts

public java.util.Iterator getParts()

getPart

public Attachment getPart(java.lang.String id)

size

public int size()

write

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

getContentType

public java.lang.String getContentType()


Copyright © 2004-2006 null. All Rights Reserved.