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

## org.apache.cxf.message
Interface Attachment

    public interface Attachment

Author:
  Dan Diephouse

Method Summary
`javax.activation.DataHandler` | `getDataHandler()`
`java.lang.String` | `getHeader(java.lang.String name)`
`java.util.Iterator<java.lang.String>` | `getHeaderNames()`
`java.lang.String` | `getId()`
`boolean` | `isXOP()` Whether or not this is an XOP package.

Method Detail

### getDataHandler

    javax.activation.DataHandler getDataHandler()

### getId

    java.lang.String getId()

  Returns:
    The attachment id.

### getHeader

    java.lang.String getHeader(java.lang.String name)

### getHeaderNames

    java.util.Iterator<java.lang.String> getHeaderNames()

### isXOP

    boolean isXOP()

  Whether or not this is an XOP package. This will affect the serialization of the attachment. If true, it will be serialized as binary data, and not Base64Binary.

  Returns:
    true iff this attachment is an XOP package

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

Apache CXF