Packages

 

com.aspose.cad.xmp

Class XmpHeaderPi

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


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

    Represents XMP header processing instruction.

    • Constructor Summary

      Constructors 
      Constructor and Description
      XmpHeaderPi()
      Initializes a new instance of the XmpHeaderPi class.
      XmpHeaderPi(String guid)
      Initializes a new instance of the XmpHeaderPi class.
    • 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 String getGuid()

        Represents Header Guid.


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

      • setGuid

        public void setGuid(String value)

        Represents Header Guid.


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

      • 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.
      • equals

        public 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)

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

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<XmpHeaderPi>
        Overrides:
        equals in class Object
        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 Object
        Returns:
        A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.