com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class XmpHeaderPI

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


    public final class XmpHeaderPI
    extends Object
    implements IXmlValue, com.aspose.ms.System.IEquatable<XmpHeaderPI>

    Represents XMP header processing instruction.

    • Constructor Detail

      • XmpHeaderPI

        public XmpHeaderPI()

        Initializes a new instance of the XmpHeaderPI class.

      • XmpHeaderPI

        public XmpHeaderPI(String guid)

        Initializes a new instance of the XmpHeaderPI class.

        Parameters:
        guid - The unique identifier.
    • Method Detail

      • getGuid

        public final String getGuid()

        Represents Header GUID.

        Returns:
        The unique identifier.


        The text of the header PI contains a GUID, making it unlikely to appear by accident in the data stream.

      • setGuid

        public final void setGuid(String value)

        Represents Header GUID.

      • 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(XmpHeaderPI 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<XmpHeaderPI>
        Overrides:
        equals in class Object
        Parameters:
        other - Compared object.
        Returns:
        true if objects are equal; otherwise false.
      • hashCode

        public int hashCode()

        Returns a hash code for this instance.

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