Packages

 

com.aspose.imaging.xmp

Class XmpMeta

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


    public final class XmpMeta
    extends XmpElementBase
    implements IXmlValue, com.aspose.ms.System.IEquatable<XmpElementBase>

    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 String getAdobeXmpToolkit()

        Gets or set Adobe Xmp toolkit version.

      • setAdobeXmpToolkit

        public void setAdobeXmpToolkit(String value)

        Gets or set Adobe Xmp 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 String getXmlValue()

        Converts XMP value to the XML representation.

        Specified by:
        getXmlValue in interface IXmlValue
        Returns:
        Returns the XMP value converted to the XML representation.
      • isEquals

        public boolean isEquals(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)

        Determines whether the specified System.Object, is equal to this instance.

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<XmpElementBase>
        Overrides:
        equals in class XmpElementBase
        Parameters:
        other - The System.Object to compare with this instance.
        Returns:
        true if the specified System.Object is equal to this instance; 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.