Package org.apache.cxf.message
Interface Attachment
- 
- All Known Implementing Classes:
- AttachmentImpl
 
 public interface Attachment
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.activation.DataHandlergetDataHandler()StringgetHeader(String name)Iterator<String>getHeaderNames()StringgetId()booleanisXOP()Whether or not this is an XOP package.
 
- 
- 
- 
Method Detail- 
getDataHandlerjavax.activation.DataHandler getDataHandler() 
 - 
getIdString getId() - Returns:
- The attachment id.
 
 - 
isXOPboolean 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 if this attachment is an XOP package
 
 
- 
 
-