Package-level declarations

Types

Link copied to clipboard
interface XMPAliasInfo

This interface is used to return info about an alias.

Link copied to clipboard
object XMPConst

Common constants for the XMP Toolkit.

Link copied to clipboard
class XMPException(message: String, val errorCode: Int, cause: Throwable? = null) : Exception

This exception wraps all errors that occur in the XMP Toolkit.

Link copied to clipboard
class XMPIterator(xmp: XMPMeta, schemaNS: String?, propPath: String?, options: IteratorOptions?) : Iterator<XMPPropertyInfo>

Interface for the XMPMeta iteration services. XMPIterator provides a uniform means to iterate over the schema and properties within an XMP object.

Link copied to clipboard
class XMPMeta

This class represents the set of XMP metadata as a DOM representation. It has methods to read and modify all kinds of properties, create an iterator over all properties and serialize the metadata to a String.

Link copied to clipboard

Creates XMPMeta-instances from an InputStream

Link copied to clipboard

Utility services for the metadata object. It has only public static functions, you cannot create an object. These are all functions that layer cleanly on top of the core XMP toolkit.

Link copied to clipboard
interface XMPProperty

This interface is used to return a text property together with its and options.

Link copied to clipboard

This interface is used to return a property together with its path and namespace. It is returned when properties are iterated with the XMPIterator.

Link copied to clipboard
data class XMPRegionArea(val xPos: Double, val yPos: Double, val width: Double, val height: Double)

As used in XMP-mwg-rs

Link copied to clipboard

The schema registry keeps track of all namespaces and aliases used in the XMP metadata. At initialisation time, the default namespaces and default aliases are automatically registered. Namespaces must be registered before used in namespace URI parameters or path expressions. Within the XMP Toolkit the registered namespace URIs and prefixes must be unique. Additional namespaces encountered when parsing RDF are automatically registered. The namespace URI should always end in an XML name separator such as '/' or '#'. This is because some forms of RDF shorthand catenate a namespace URI with an element name to form a new URI.

Link copied to clipboard

Since v1.0.1 we report the library no longer as "Adobe XMP Core 5.1.3" (which it is based on), but under it's real name and version number.

Functions

Link copied to clipboard
fun main(args: Array<String>)