public final class XmpMeta extends XmpElementBase implements IXmlValue, com.aspose.ms.System.IEquatable<XmpElementBase>
Represents xmp meta. 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, isEqualspublic 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 XmpElementBaseattribute - The attribute.value - The value.public String getXmlValue()
Converts XMP value to the XML representation.
getXmlValue in interface IXmlValuepublic 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 XmpElementBaseother - 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 XmpElementBaseCopyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.