public final class XmpMeta extends XmpElementBase implements IXmlValue, com.aspose.ms.System.IEquatable<XmpElementBase>
Represents xmpmeta. Optional. The purpose of this element is to identify XMP metadata within general XML text that might contain other non-XMP uses of RDF.
Constructor and Description |
---|
XmpMeta()
Initializes a new instance of the
XmpMeta class. |
XmpMeta(String toolkitVersion)
Initializes a new instance of the
XmpMeta class. |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(String attribute,
String value)
Adds the attribute.
|
boolean |
equals(Object other)
Determines whether the specified
System.Object , is equal to this instance. |
String |
getAdobeXmpToolkit()
Gets or set Adobe Xmp toolkit version.
|
String |
getXmlValue()
Converts XMP value to the XML representation.
|
int |
hashCode()
Returns a hash code for this instance.
|
boolean |
isEquals(XmpMeta other)
Indicates whether the current object is equal to another object of the same type.
|
void |
setAdobeXmpToolkit(String value)
Gets or set Adobe Xmp toolkit version.
|
clearAttributes, getAttribute, isEquals
public XmpMeta(String toolkitVersion)
Initializes a new instance of the XmpMeta
class.
toolkitVersion
- Adobe XMP toolkit version.public XmpMeta()
Initializes a new instance of the XmpMeta
class.
public String getAdobeXmpToolkit()
Gets or set Adobe Xmp toolkit version.
public void setAdobeXmpToolkit(String value)
Gets or set Adobe Xmp toolkit version.
public void addAttribute(String attribute, String value)
Adds the attribute.
addAttribute
in class XmpElementBase
attribute
- The attribute.value
- The value.public String getXmlValue()
Converts XMP value to the XML representation.
getXmlValue
in interface IXmlValue
public boolean isEquals(XmpMeta 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 other)
Determines whether the specified System.Object
, is equal to this instance.
equals
in interface com.aspose.ms.System.IEquatable<XmpElementBase>
equals
in class XmpElementBase
other
- The System.Object
to compare with this instance.true
if the specified System.Object
is equal to this instance; otherwise, false
.public int hashCode()
Returns a hash code for this instance.
hashCode
in class XmpElementBase