MetadataPreference
Metadata preferences.
Instance
Read Only
String serverURL
The location of the document on the asset management server.
Read Only
Date modificationDate
The most recent modification date of the document.
Read Only
Date creationDate
The creation date of the document.
Read Only
String creator
The name of the application used to create the document.
Read Only
String format
The format of the document.
Read Only
Boolean isValid
Returns true if the object specifier resolves to valid objects.
Read Only
Document parent
The parent of the MetadataPreference (a Document).
Read Only
Events events
A collection of events.
Read Only
EventListeners eventListeners
A collection of event listeners.
String author
The author of the document.
String description
The description of the MetadataPreference.
String jobName
The job name.
CopyrightStatus copyrightStatus
The copyright status of the document.
String copyrightNotice
The text to use as a copyright notice.
String copyrightInfoURL
The URL of the file that contains the linked copyright statement.
String keywords
The list of keywords associated with the document.
String documentTitle
The title of the document.
Object properties
A property that allows setting of several properties at the same time.
Methods
save( File to )
Saves the metadata in the document to an external file.
Parameters
replace( File using, Boolean affectAll )
Replaces the current metadata in the document with metadata from the specified file.
Parameters
append( File from, Boolean affectAll )
Uses metadata from the specified external file to define any undefined metadata properties in the document.
Parameters
String getProperty( String namespace, String path )
Gets the XMP property value associated with the specified path.
Parameters
setProperty( String namespace, String path, String value )
Sets the XMP property associated with the specified path.
Parameters
createContainerItem( String namespace, String path, Number index, ContainerType container )
Creates an empty container.
Parameters
Number countContainer( String namespace, String path )
Counts the number of items in the container.
Parameters
String toSource()
Generates a string which, if executed, will return the MetadataPreference.
MetadataPreference getElements()
Resolves the object specifier, creating an array of object references.
String toSpecifier()
Retrieves the object specifier.
EventListener addEventListener( String eventType, Mixed handler, Boolean captures )
Adds an event listener.
Parameters
Boolean removeEventListener( String eventType, Mixed handler, Boolean captures )
Removes the event listener.