com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class XmpMeta

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<XmpElementBase>, IXmlValue


    public final class XmpMeta
    extends XmpElementBase
    implements IXmlValue

    Represents xmpmeta. Optional. The purpose of this element is to identify XMP metadata within general XML text that might contain other non-XMP uses of RDF.

    • Constructor Detail

      • XmpMeta

        public XmpMeta(String toolkitVersion)

        Initializes a new instance of the XmpMeta class.

        Parameters:
        toolkitVersion - Adobe XMP toolkit version.
      • XmpMeta

        public XmpMeta()

        Initializes a new instance of the XmpMeta class.

    • Method Detail

      • getAdobeXmpToolkit

        public final String getAdobeXmpToolkit()

        Gets or sets Adobe XMP toolkit version.

        Value: The toolkit version.
      • setAdobeXmpToolkit

        public final void setAdobeXmpToolkit(String value)

        Gets or sets Adobe XMP toolkit version.

        Value: The toolkit version.
      • addAttribute

        public void addAttribute(String attribute,
                        String value)

        Adds the attribute.

        Overrides:
        addAttribute in class XmpElementBase
        Parameters:
        attribute - The attribute.
        value - The value.
      • getXmlValue

        public final String getXmlValue()

        Converts XMP value to the xml representation.

        Specified by:
        getXmlValue in interface IXmlValue
        Returns:
        Returns string representation of XMP value.
      • equals

        public final boolean equals(XmpMeta other)

        Indicates whether the current object is equal to another object of the same type.

        Parameters:
        other - An object to compare with this object.
        Returns:
        true if the current object is equal to the other parameter; otherwise, false.
      • equals

        public boolean equals(Object other)

        Compares with other and returns true if objects are equal.

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<XmpElementBase>
        Overrides:
        equals in class XmpElementBase
        Parameters:
        other - Compared object.
        Returns:
        true if object are equal; otherwise false.
      • hashCode

        public int hashCode()

        Returns a hash code for this instance.

        Overrides:
        hashCode in class XmpElementBase
        Returns:
        A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.