Class AttachmentImpl

    • Constructor Detail

      • AttachmentImpl

        public AttachmentImpl​(String idParam)
      • AttachmentImpl

        public AttachmentImpl​(String idParam,
                              javax.activation.DataHandler handlerParam)
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface Attachment
        Returns:
        The attachment id.
      • getDataHandler

        public javax.activation.DataHandler getDataHandler()
        Specified by:
        getDataHandler in interface Attachment
      • setDataHandler

        public void setDataHandler​(javax.activation.DataHandler dataHandler)
      • setHeader

        public void setHeader​(String name,
                              String value)
      • isXOP

        public boolean isXOP()
        Description copied from interface: Attachment
        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.
        Specified by:
        isXOP in interface Attachment
        Returns:
        true if this attachment is an XOP package
      • setXOP

        public void setXOP​(boolean xopParam)