MetadataPreference

ファイル情報

プロパティ(parentとその逆)

Ver.プロパティR/O
[7][7.5][8]
[9][10][11]
parent Document
[7][7.5][8]
[9][10][11]
eventListeners EventListeners
[7][7.5][8]
[9][10][11]
events Events

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8]
[9][10][11]
author 文字列値著者
[7][7.5][8]
[9][10][11]
copyrightInfoURL 文字列値The URL of the file that contains the linked copyright statement.
[7][7.5][8]
[9][10][11]
copyrightNotice 文字列値The text to use as a copyright notice.
[7][7.5][8]
[9][10][11]
copyrightStatus CopyrightStatus
CopyrightStatus
Ver.10進数/文字列説明
[7][7.5][8]
[9][10][11]
NO1852776480
no
パブリックドメイン
[7][7.5][8]
[9][10][11]
UNKNOWN1433299822
Unkn
不明
[7][7.5][8]
[9][10][11]
YES2036691744
yes
著作権取得済み
The copyright status of the document.
[7][7.5][8]
[9][10][11]
creationDate 日付値作成日時
[7][7.5][8]
[9][10][11]
creator 文字列値The name of the application used to create the document.
[7][7.5][8]
[9][10][11]
description 文字列値The description of the MetadataPreference.
[7][7.5][8]
[9][10][11]
documentTitle 文字列値The title of the document.
[7][7.5][8]
[9][10][11]
format 文字列値The format of the document.
[7][7.5][8]
[9][10][11]
isValid 真偽値
[7][7.5][8]
[9][10][11]
jobName 文字列値The job name.
[7][7.5][8]
[9][10][11]
keywords Array( 文字列値 )The list of keywords associated with the document.
[7][7.5][8]
[9][10][11]
modificationDate 日付値The most recent modification date of the document.
[7][7.5][8]
[9][10][11]
properties Object
[7][7.5][8]
[9][10][11]
serverURL 文字列値The location of the document on the asset management server.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8]
[9][10][11]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値このパラメータは旧式です
[7][7.5][8]
[9][10][11]
append(from, [affectAll]) なしメタデータを追加
from ファイルファイル名
[affectAll] 真偽値既に存在するメタデータを置き換えるかどうか (既定値=false)
[7][7.5][8]
[9][10][11]
countContainer(namespace, path) 数値Counts the number of items in the container.
namespace 文字列値The namespace of the container.
path 文字列値The path to the container.
[7][7.5][8]
[9][10][11]
createContainerItem(namespace, path, [index], [container]) なしCreates an empty container.
namespace 文字列値The namespace of the container.
path 文字列値The path to the container.
[index] 数値インデックス。1以上の整数。末尾に追加するには0
[container] ContainerType
ContainerType
Ver.10進数/文字列説明
[7][7.5][8]
[9][10][11]
ALT1298424180
Mdat
The container contains alternative values of which only one can be used.
[7][7.5][8]
[9][10][11]
BAG1298424423
Mdbg
The container contains unordered items.
[7][7.5][8]
[9][10][11]
SEQ1298428785
Mdsq
The container contains ordered or sequential items.
最初に追加するときに必要 (既定値=BAG)
[7][7.5][8]
[9][10][11]
getElements() Array( MetadataPreference )Resolves the object specifier, creating an array of object references.
[7][7.5][8]
[9][10][11]
getProperty(namespace, path) 文字列値XMP属性を取得
namespace 文字列値The namespace of the property.
path 文字列値The specified path.
[7][7.5][8]
[9][10][11]
removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値このパラメータは旧式です
[7][7.5][8]
[9][10][11]
replace(using, [affectAll]) なしReplaces the current metadata in the document with metadata from the specified file.
using ファイルフルパス名
[affectAll] 真偽値If true, treats all properties as external. (既定値=false)
[7][7.5][8]
[9][10][11]
save(to) なしSaves the metadata in the document to an external file.
to ファイルファイル名
[7][7.5][8]
[9][10][11]
setProperty(namespace, path, value) なしSets the XMP property associated with the specified path.
namespace 文字列値The namespace of the property.
path 文字列値The specified path(s).
value 文字列値削除する場合は空文字列
[7][7.5][8]
[9][10][11]
toSource() 文字列値ソースコードを表示
[7][7.5][8]
[9][10][11]
toSpecifier() 文字列値Retrieves the object specifier.