A script enabled browser is required for this page to function properly
Oracle® Beehive RESTful Web Services API Reference
Release 2 (2.0.1.7)
E16658-04
Overview
Represents a simple content that can be embedded as message body or an attachment body
Members
Show inherited members
Projections
BASIC
WITH_CONTENT_STRUCTURE
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
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:simpleContent xsi:type="obh:simpleContent" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<obh:characterEncoding>your_string_0 </obh:characterEncoding>
<obh:contentBytes>your_base64Binary_0 </obh:contentBytes>
<obh:contentDisposition>your_contentDispositionType_0 </obh:contentDisposition>
<obh:contentEncoding>your_contentEncodingType_0 </obh:contentEncoding>
<obh:contentId>your_string_0 </obh:contentId>
<obh:contentLanguage>your_string_0 </obh:contentLanguage>
<obh:mediaType>your_string_0 </obh:mediaType>
<obh:mimeHeaders>your_mimeHeadersWrapper_0 </obh:mimeHeaders>
<obh:name>your_rawString_0 </obh:name>
<obh:partIdentifier>your_string_0 </obh:partIdentifier>
<obh:size>your_long_0 </obh:size>
<obh:type>your_contentType_0 </obh:type>
</obh:simpleContent>
JSON Example
(show inherited members)
{
"beeType":"simpleContent",
"characterEncoding":"your_{http://www.oracle.com/beehive}characterEncoding_as_string0",
"contentBytes":"your_{http://www.oracle.com/beehive}contentBytes_as_base64Binary0",
"contentDisposition":{ your_{http://www.oracle.com/beehive}contentDisposition_as_contentDispositionType0 },
"contentEncoding":{ your_{http://www.oracle.com/beehive}contentEncoding_as_contentEncodingType0 },
"contentId":"your_{http://www.oracle.com/beehive}contentId_as_string0",
"contentLanguage":"your_{http://www.oracle.com/beehive}contentLanguage_as_string0",
"mediaType":"your_{http://www.oracle.com/beehive}mediaType_as_string0",
"mimeHeaders":{ your_{http://www.oracle.com/beehive}mimeHeaders_as_mimeHeadersWrapper0 },
"name":{ your_{http://www.oracle.com/beehive}name_as_rawString0 },
"partIdentifier":"your_{http://www.oracle.com/beehive}partIdentifier_as_string0",
"size":your_{http://www.oracle.com/beehive}size_as_long0,
"type":{ your_{http://www.oracle.com/beehive}type_as_contentType0 }
}
XML Schema
<xs:complexType name="simpleContent">
<xs:complexContent>
<xs:extension base="tns:content">
<xs:sequence>
<xs:element minOccurs="0" name="characterEncoding" type="xs:string"/>
<xs:element minOccurs="0" name="contentBytes" type="xs:base64Binary"/>
<xs:element minOccurs="0" name="contentEncoding" type="tns:contentEncodingType"/>
<xs:element minOccurs="0" name="contentLanguage" type="xs:string"/>
<xs:element minOccurs="0" name="name" type="tns:rawString"/>
<xs:element minOccurs="0" name="partIdentifier" type="xs:string"/>
<xs:element name="size" type="xs:long"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
References
The following data represents the references to simpleContent
Referenced By Resources
Referenced By Representaions
Copyright © 2008, 2012, Oracle and/or its affiliates. All rights reserved.
Legal Notices