memoPartMIMEAttachment

Defines the bibus » memoPart class used to include a MIME attachment with the message, such as an image file.

This class

Properties

This class has the following properties.

contentID

Specifies the globally unique Content-ID for this memo part in the delivered message. Other parts of the message can use this ID to reference the image or data stored in this memo part.

This property

  • is of type string

    is encoded as type xs:string

contentLocation

Specifies the URL to use as the Content-Location for this memo part in the delivered message. Other parts of the message can use this URL to link to the image or data that stored in this memo part.

This property

  • is of type string

    is encoded as type xs:string

data

Contains the MIME data. The data format is specified in the dataType property.

This property may be encoded as an attachment in a method request message or response message if the encoding parameter is set toMIME. The encoding parameter varies from method to method; see the bibus » addOptions » dataEncoding propertyand the bibus » queryOptions » dataEncoding propertyfor additional details.

This property

  • is of type base64Binary

    is encoded as type xs:base64Binary

dataSize

Specifies the number of bytes of data.

This property

  • is of type nonNegativeInteger

    is encoded as type xs:integer

  • is read-only

dataType

Specifies the media type of the value of property data. The media type is expressed as a type/subtype pair. For example, image/jpeg identifies images in JPEG format using JFIF encoding, and text/plain identifies plaintext.

This property

  • is of type string

    is encoded as type xs:string

  • can contain at least 255 characters