Package org.apache.cxf.attachment
Class AttachmentImpl
java.lang.Object
org.apache.cxf.attachment.AttachmentImpl
- All Implemented Interfaces:
- Attachment
- 
Constructor SummaryConstructorsConstructorDescriptionAttachmentImpl(String idParam) AttachmentImpl(String idParam, jakarta.activation.DataHandler handlerParam) 
- 
Method SummaryModifier and TypeMethodDescriptionjakarta.activation.DataHandlergetId()booleanisXOP()Whether or not this is an XOP package.voidsetDataHandler(jakarta.activation.DataHandler dataHandler) voidvoidsetXOP(boolean xopParam) 
- 
Constructor Details- 
AttachmentImpl
- 
AttachmentImpl
 
- 
- 
Method Details- 
getId- Specified by:
- getIdin interface- Attachment
- Returns:
- The attachment id.
 
- 
getDataHandlerpublic jakarta.activation.DataHandler getDataHandler()- Specified by:
- getDataHandlerin interface- Attachment
 
- 
setDataHandlerpublic void setDataHandler(jakarta.activation.DataHandler dataHandler) 
- 
setHeader
- 
getHeader- Specified by:
- getHeaderin interface- Attachment
 
- 
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) 
 
-