Package org.apache.cxf.attachment
Class AttachmentImpl
- java.lang.Object
- 
- org.apache.cxf.attachment.AttachmentImpl
 
- 
- All Implemented Interfaces:
- Attachment
 
 public class AttachmentImpl extends Object implements Attachment 
- 
- 
Constructor SummaryConstructors Constructor Description AttachmentImpl(String idParam)AttachmentImpl(String idParam, javax.activation.DataHandler handlerParam)
 - 
Method SummaryAll Methods Instance Methods Concrete 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.voidsetDataHandler(javax.activation.DataHandler dataHandler)voidsetHeader(String name, String value)voidsetXOP(boolean xopParam)
 
- 
- 
- 
Method Detail- 
getIdpublic String getId() - Specified by:
- getIdin interface- Attachment
- Returns:
- The attachment id.
 
 - 
getDataHandlerpublic javax.activation.DataHandler getDataHandler() - Specified by:
- getDataHandlerin interface- Attachment
 
 - 
setDataHandlerpublic void setDataHandler(javax.activation.DataHandler dataHandler) 
 - 
getHeaderpublic String getHeader(String name) - Specified by:
- getHeaderin interface- Attachment
 
 - 
getHeaderNamespublic Iterator<String> getHeaderNames() - Specified by:
- getHeaderNamesin interface- Attachment
 
 - 
isXOPpublic boolean isXOP() Description copied from interface:AttachmentWhether 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.- Specified by:
- isXOPin interface- Attachment
- Returns:
- true if this attachment is an XOP package
 
 - 
setXOPpublic void setXOP(boolean xopParam) 
 
- 
 
-