XmpHeaderPi

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.imaging.xmp.IXmlValue, com.aspose.ms.System.IEquatable

public final class XmpHeaderPi implements IXmlValue, System.IEquatable<XmpHeaderPi>

Represents XMP header processing instruction.

Constructors

ConstructorDescription
XmpHeaderPi()Initializes a new instance of the XmpHeaderPi class.
XmpHeaderPi(String guid)Initializes a new instance of the XmpHeaderPi class.

Methods

MethodDescription
getGuid()Represents Header Guid.
setGuid(String value)Represents Header Guid.
getXmlValue()Converts XMP value to the XML representation.
isEquals(XmpHeaderPi other)Indicates whether the current object is equal to another object of the same type.
equals(Object obj)Determines whether the specified System.Object, is equal to this instance.
hashCode()Returns a hash code for this instance.

XmpHeaderPi()

public XmpHeaderPi()

Initializes a new instance of the XmpHeaderPi class.

XmpHeaderPi(String guid)

public XmpHeaderPi(String guid)

Initializes a new instance of the XmpHeaderPi class.

Parameters:

ParameterTypeDescription
guidjava.lang.StringThe unique identifier.

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.

Returns: java.lang.String

setGuid(String value)

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.

Parameters:

ParameterTypeDescription
valuejava.lang.String

getXmlValue()

public String getXmlValue()

Converts XMP value to the XML representation.

Returns: java.lang.String - Returns the XMP value converted to the XML representation.

isEquals(XmpHeaderPi other)

public boolean isEquals(XmpHeaderPi other)

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

Parameters:

ParameterTypeDescription
otherXmpHeaderPiAn object to compare with this object.

Returns: boolean - true if the current object is equal to the other parameter; otherwise, false.

equals(Object obj)

public boolean equals(Object obj)

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

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe System.Object to compare with this instance.

Returns: boolean - true if the specified System.Object is equal to this instance; otherwise, false.

hashCode()

public int hashCode()

Returns a hash code for this instance.

Returns: int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.