
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 262
XMPAliasInfo object
This object is returned by XMPMeta.resolveAlias(). The read-only properties describe an XMP metadata
alias.
XMPAliasInfo object properties
XMPConst object
This object contains the read-only constant definitions for use with the JavaScript XMP API. Some of these
are listed in the context in which they are used. Longer lists are provided here.
Schema namespace string constants
Constant values for the namespace URI strings used in all get and set property operations. See XMPMeta
object.
arrayForm
Number A constant that describes the property type of the resolved alias, 0 for a
simple property. Constants are:
X XMPConst.ALIAS_TO_SIMPLE_PROP: A direct mapping. It can be
simple-to-simple, array-to-array, or structure-to-structure.
X XMPConst.ALIAS_TO_ARRAY: The actual property is an unordered
array; the alias is to the first element.
X XMPConst.ALIAS_TO_ORDERED_ARRAY: The actual property is an
ordered array; the alias is to the first element.
X XMPConst.ALIAS_TO_ALT_ARRAY: The actual property is an alternate
array; the alias is to the first element.
X XMPConst.ALIAS_TO_ALT_TEXT: The actual property is an alternate
text array; the alias is to the
x-default element.
name
String The name of the property to which the alias resolves.
namespace
String The namespace of the property to which the alias resolves. See “Schema
namespace string constants” on page 262.
NS_DC
The XML namespace for the Dublin Core schema,
http://purl.org/dc/elements/1.1
NS_IPTC_CORE
The XML namespace for the IPTC Core schema.
NS_RDF
The XML namespace for RDF.
NS_XML
The XML namespace for XML.
NS_XMP
The XML namespace for the XMP basic schema.
NS_XMP_RIGHTS
The XML namespace for the XMP copyright schema.
Comentarios a estos manuales