public final class XmpHeaderPi extends Object implements IXmlValue, com.aspose.ms.System.IEquatable<XmpHeaderPi>
Represents XMP header processing instruction.
Constructor and Description |
---|
XmpHeaderPi()
Initializes a new instance of the
XmpHeaderPi class. |
XmpHeaderPi(String guid)
Initializes a new instance of the
XmpHeaderPi class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified
System.Object , is equal to this instance. |
String |
getGuid()
Represents Header Guid.
|
String |
getXmlValue()
Converts XMP value to the XML representation.
|
int |
hashCode()
Returns a hash code for this instance.
|
boolean |
isEquals(XmpHeaderPi other)
Indicates whether the current object is equal to another object of the same type.
|
void |
setGuid(String value)
Represents Header Guid.
|
public XmpHeaderPi()
Initializes a new instance of the XmpHeaderPi
class.
public XmpHeaderPi(String guid)
Initializes a new instance of the XmpHeaderPi
class.
guid
- The unique identifier.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.
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.
public String getXmlValue()
Converts XMP value to the XML representation.
getXmlValue
in interface IXmlValue
public boolean isEquals(XmpHeaderPi other)
Indicates whether the current object is equal to another object of the same type.
other
- An object to compare with this object.other
parameter; otherwise, false.public boolean equals(Object obj)
Determines whether the specified System.Object
, is equal to this instance.
equals
in interface com.aspose.ms.System.IEquatable<XmpHeaderPi>
equals
in class Object
obj
- The System.Object
to compare with this instance.true
if the specified System.Object
is equal to this instance; otherwise, false
.