com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class XmpProperties



  • public final class XmpProperties
    extends Object

    Represents XMP properties.

    • Method Detail

      • getCount

        public final int getCount()

        Gets the number of XMP properties.

        Returns:
        Number of properties.
      • getKeys

        public final String[] getKeys()

        Gets a collection containing the keys in the XmpProperties.

      • getNamespaces

        public final String[] getNamespaces()

        Gets a collection of namespaces presented in XmpProperties.

        Returns:
        Namespaces.
      • get_Item

        public final XmpNodeView get_Item(String xmpKey)

        Gets the XmpNodeView with the specified XMP key.

        Parameters:
        xmpKey - The XMP key. Value: The XmpNodeView.
        Returns:
        Appropriate XMP value if key found; otherwise null.
        Throws:
        com.aspose.ms.System.ArgumentNullException - XMP key could be null or empty.
      • containsKey

        public final boolean containsKey(String xmpKey)

        Determines whether key is exist in XmpProperties.

        Parameters:
        xmpKey - XMP key with prefix. For example: dc:format.
        Returns:
        true if key found; otherwise false.
        Throws:
        com.aspose.ms.System.ArgumentNullException - XMP key could not be null.
      • containsNamespace

        public final boolean containsNamespace(String namespaceUri)

        Determines whether the specified namespace URI contains in XmpProperties.

        Parameters:
        namespaceUri - The namespace URI.
        Returns:
        true if namespace found; otherwise false.
        Throws:
        com.aspose.ms.System.ArgumentNullException - Namespace URI could not be null.