EmbeddedObject (Java)

Represents any one of the following:

  • An embedded object
  • An object link
  • A file attachment
Note: Embedded objects and object links are not supported for UNIX and the Macintosh. File attachments are.

Syntax

public class EmbeddedObject extends Base

Containment

Contained by: Document and RichTextItem

Properties

ClassName through getClassName

FileCreated through getFileCreated

FileEncoding through getFileEncoding

FileModified through getFileModified

FileSize through getFileSize

InputSource through getInputSource

InputStream through getInputStream

Name through getName

Object through getObject

Parent through getParent

Reader through getReader

Source through getSource

Type through getType

Verbs through getVerbs

Methods

activate

doVerb

extractFile

parseXML

recycle

remove

toString

transformXML

Creation

To create a new object, object link, or file attachment, use embedObject in RichTextItem.

Access

To access an existing object, object link, or file attachment:

  • To access an object, object link, or attachment when you know its name and the rich text item that contains it, use getEmbeddedObject in RichTextItem.
  • To access all the objects, object links, and attachments in a particular rich text item, use getEmbeddedObjects in RichTextItem.
  • To access the objects and object links in a particular document, including those that are not contained within a particular rich text item, use getEmbeddedObjects in Document. This property does not return file attachments or objects and object links created in Notes® Release 3.

Language cross-reference

ObjectProperties @command in formula language

HotspotProperties @command in formula language

Example