
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 272
XMPIterator object
Created by a call to XMPMeta.iterator(). Walks recursively through the properties and qualifiers of an
XMPMeta object
, and returns them as XMPProperty objects.
The object has no JavaScript properties.
XMPIterator object functions
XMPMeta object
This class provides the core services of the XMP Toolkit. The functions provide the ability to create and
query metadata properties from an XMP namespace. The class also provides static functions that allow
you to create and query namespaces and aliases.
openFlags
Number The options with which this file was opened. One of these constants:
XMPConst.OPEN_FOR_READ — Open for read-only access.
XMPConst.OPEN_FOR_UPDATE — Open for reading and writing.
XMPConst.OPEN_ONLY_XMP — Only the XMP is wanted, allows
space/time optimizations.
XMPConst.OPEN_STRICTLY — Be strict about locating XMP and
reconciling with other forms.
XMPConst.OPEN_USE_SMART_HANDLER — Require the use of a smart
handler. No packet scanning is performed.
XMPConst.OPEN_USE_PACKET_SCANNING — Force packet scanning, do
not use a smart handler.
XMPConst.OPEN_LIMITED_SCANNING — Only packet-scan files known
to need scanning.
next()
XMPIteratorObj.next ( )
Retrieves the next item in the metadata.
Returns an XMPProperty object
, or null if there are no more items.
skipSiblings()
XMPIteratorObj.skipSiblings ( )
Skips the subtree below and the siblings of the current node on the subsequent call to next().
Returns
undefined.
skipSubtree()
XMPIteratorObj.skipSubtree ( )
Skips the subtree below the current node on the subsequent call to next().
Returns
undefined.
Comentarios a estos manuales