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
Constructor | Description |
---|---|
XmpHeaderPi() | Initializes a new instance of the XmpHeaderPi class. |
XmpHeaderPi(String guid) | Initializes a new instance of the XmpHeaderPi class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
guid | java.lang.String | The 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:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
other | XmpHeaderPi | An 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:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | The 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.