Oracle Beehive
  Oracle® Beehive RESTful Web Services API Reference
  Release 2 (2.0.1.7)
  E16658-04

Contents

Overview

Represents a "multipart" content container. A MultiContent contains a list of sub-contents and describes the relationship among the sub-contents.

Members

Name Type Description

contentDisposition

contentDispositionType

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

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.

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.

multiPartType

multiContentType

Multi-part type. This type describes the relationship among the sub-contents.

parts

content[]

The list of sub-contents.

type

contentType

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

Hierarchy

Inherits From

Applied Markers

Examples

Below are examples in JSON and 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:multiContent xsi:type="obh:multiContent" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:contentDisposition>your_contentDispositionType_0</obh:contentDisposition>
        <obh:contentId>your_string_0</obh:contentId>
        <obh:mediaType>your_string_0</obh:mediaType>
        <obh:mimeHeaders>your_mimeHeadersWrapper_0</obh:mimeHeaders>
        <obh:multiPartType>your_multiContentType_0</obh:multiPartType>
        <obh:parts>your_content_0</obh:parts>
        <obh:parts>your_content_1</obh:parts>
        <obh:parts>your_content_2</obh:parts>
        <obh:type>your_contentType_0</obh:type>
</obh:multiContent>

JSON Example

(show inherited members)

{
    "beeType":"multiContent",
        "contentDisposition":{ your_{http://www.oracle.com/beehive}contentDisposition_as_contentDispositionType0 },
        "contentId":"your_{http://www.oracle.com/beehive}contentId_as_string0",
        "mediaType":"your_{http://www.oracle.com/beehive}mediaType_as_string0",
        "mimeHeaders":{ your_{http://www.oracle.com/beehive}mimeHeaders_as_mimeHeadersWrapper0 },
        "multiPartType":{ your_{http://www.oracle.com/beehive}multiPartType_as_multiContentType0 },
        "parts":[
            { your_{http://www.oracle.com/beehive}parts_as_content0 },
            { your_{http://www.oracle.com/beehive}parts_as_content1 },
            { your_{http://www.oracle.com/beehive}parts_as_content2 }
        ],
        "type":{ your_{http://www.oracle.com/beehive}type_as_contentType0 }
}

XML Schema


<xs:complexType name="multiContent">
    <xs:complexContent>
        <xs:extension base="tns:content">
            <xs:sequence>
                <xs:element minOccurs="0" name="multiPartType" type="tns:multiContentType"/>
                <xs:element maxOccurs="unbounded" minOccurs="0"
                    name="parts" type="tns:content"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to multiContent

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions

Not Referenced Directly by Representations