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. |
ATTACHMENTS_KEY
static final java.lang.String ATTACHMENTS_KEY
- The key for the Attachments object in the MessageContext.
- See Also:
- Constant Field Values
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()