com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class XmpMetadata



  • public final class XmpMetadata
    extends Metadata

    Represents XMP metadata.

    • Constructor Detail

      • XmpMetadata

        public XmpMetadata()

        Initializes a new instance of the XmpMetadata class.

      • XmpMetadata

        public XmpMetadata(XmpPacketWrapper xmpWrapper)

        Initializes a new instance of the XmpMetadata class.

        Parameters:
        xmpWrapper - The XMP wrapper.
        Throws:
        ArgumentNullException - XMP wrapper could not be null.
    • Method Detail

      • getXmpPacket

        public final XmpPacketWrapper getXmpPacket()

        Gets XMP packet.

        Returns:
        The XMP packet.
      • setXmpPacket

        public final void setXmpPacket(XmpPacketWrapper value)

        Sets XMP packet.

        Parameters:
        value - The XMP packet.
      • getKeys

        public String[] getKeys()

        Gets array of available metadata keys. Key related to null values are skipped.

        Specified by:
        getKeys in class Metadata
        Returns:
        The array of keys.