LinkMetadata

MetaData properties for the link source file.

Methods:

addEventListener, countContainer, getElements, getProperty, removeEventListener, toSource, toSpecifier

Objects:

Boolean, CopyrightStatus, Date, EventListeners, Events, Object, String

Hierarchy:

Superclass: Preference

Class: LinkMetadata

Property Listing

Property

Type

Access

Description

author

String

readonly

The author of the document.

copyrightInfoURL

String

readonly

The URL of the file that contains the linked copyright statement.

copyrightNotice

String

readonly

The text to use as a copyright notice.

copyrightStatus

CopyrightStatus

CopyrightStatus.NO

CopyrightStatus.UNKNOWN

CopyrightStatus.YES

readonly

The copyright status of the document.

creationDate

Date

readonly

The creation date of the document.

creator

String

readonly

The name of the application used to create the document.

description

String

readonly

The description of the LinkMetadata.

documentTitle

String

readonly

The title of the document.

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

format

String

readonly

The format of the document.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

jobName

String

readonly

The job name.

keywords

Array of String

readonly

The list of keywords associated with the document.

modificationDate

Date

readonly

The most recent modification date of the document.

parent

Link

readonly

The parent of the LinkMetadata (a Link).

properties

Object

read/write

A property that allows setting of several properties at the same time.

serverURL

String

readonly

The location of the document on the asset management server.

Method Listing

EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

File

JavaScriptFunction

The event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

Number countContainer (namespace:String, path:String)

Counts the number of items in the container.

Parameter

Type

Description

namespace

String

The namespace of the container.

path

String

The path to the container.

LinkMetadata getElements ()

Resolves the object specifier, creating an array of object references.

String getProperty (namespace:String, path:String)

Gets the XMP property value associated with the specified path.

Parameter

Type

Description

namespace

String

The namespace of the property.

path

String

The specified path.

Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Removes the event listener.

Parameter

Type

Description

eventType

String

The registered event type.

handler

File

JavaScriptFunction

The registered event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

String toSource ()

Generates a string which, if executed, will return the LinkMetadata.

String toSpecifier ()

Retrieves the object specifier.

Object of

Event.parent

EventListener.parent

MutationEvent.parent

Link.linkXmp

Return

LinkMetadata.getElements()