Overview

Represents a simple content that can be embedded as message body or an attachment body

Members

Show inherited members

Projections
Name Type Required Description

characterEncoding

string

Character set of this content

contentBytes

base64Binary

Byte sequence of this content. Use this member with caution, as large objects may incur sizable memory consumption.

contentDisposition

contentDispositionType

Content disposition of this content. The disposition of a content can be INLINE or ATTACHMENT.

contentEncoding

contentEncodingType

Transport encoding of this part

contentId

string

ID of this content. A content component in a multipart/related content group has a unique ID property that can be used to reference the part in an HTML part within the group.

contentLanguage

string

Content language of this part

mediaType

string

The IANA media type for this content. This is also known as MIME type.

mimeHeaders

mimeHeadersWrapper

The collection of MIME headers associated with this content. Every content object may potentially come from MIME source regardless of its type. Therefore along with content data and attributes there can be arbitrary MIME headers associated with it.

name

rawString

The name of this content.

partIdentifier

string

The part identifier associated with this part in an email message.

size

long

The size of the content in bytes.

type

contentType

Type of the content. A content can be of type MULTIPART, INLINE, MESSAGE or REFERENCE.

Hierarchy

Inherits From

Inherited By

Examples

Below are examples in XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.

XML Example

(show inherited members)

<obh:simpleContent xsi:type="obh:simpleContent" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <characterEncoding>your_string_0</characterEncoding>
        <contentBytes>your_base64Binary_0</contentBytes>
        <contentDisposition>your_contentDispositionType_0</contentDisposition>
        <contentEncoding>your_contentEncodingType_0</contentEncoding>
        <contentId>your_string_0</contentId>
        <contentLanguage>your_string_0</contentLanguage>
        <mediaType>your_string_0</mediaType>
        <mimeHeaders>your_mimeHeadersWrapper_0</mimeHeaders>
        <name>your_rawString_0</name>
        <partIdentifier>your_string_0</partIdentifier>
        <size>your_long_0</size>
        <type>your_contentType_0</type>
</obh:simpleContent>

Referenced By Representaions