public final class XmpMeta extends XmpElementBase implements IXmlValue
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.
attributes
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)
Compares with
other and returns true if objects are equal. |
boolean |
equals(XmpMeta other)
Indicates whether the current object is equal to another object of the same type.
|
String |
getAdobeXmpToolkit()
Gets Adobe XMP toolkit version.
|
String |
getXmlValue()
Converts XMP value to the xml representation.
|
int |
hashCode()
Returns a hash code for this instance.
|
void |
setAdobeXmpToolkit(String value)
Sets Adobe XMP toolkit version.
|
clearAttributes, containsAttribute, equals, getAttribute
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 final String getAdobeXmpToolkit()
Gets Adobe XMP toolkit version.
public final void setAdobeXmpToolkit(String value)
Sets Adobe XMP toolkit version.
value
- The toolkit version.public void addAttribute(String attribute, String value)
Adds the attribute.
addAttribute
in class XmpElementBase
attribute
- The attribute.value
- The value.public final String getXmlValue()
Converts XMP value to the xml representation.
getXmlValue
in interface IXmlValue
string
representation of XMP value.public final boolean equals(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)
Compares with other
and returns true if objects are equal.
equals
in interface com.aspose.ms.System.IEquatable<XmpElementBase>
equals
in class XmpElementBase
other
- Compared object.public int hashCode()
Returns a hash code for this instance.
hashCode
in class XmpElementBase
Copyright © 2018. All rights reserved.