Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

    static final java.lang.String ATTACHMENTS_KEY

  The key for the Attachments object in the MessageContext.

  See Also:
    Constant Field Values

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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2005 Codehaus. All Rights Reserved.