XmpMeta

Inheritance: java.lang.Object, com.aspose.psd.xmp.XmpElementBase

All Implemented Interfaces: com.aspose.psd.xmp.IXmlValue, com.aspose.ms.System.IEquatable

public final class XmpMeta extends XmpElementBase implements IXmlValue, 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.

Constructors

ConstructorDescription
XmpMeta(String toolkitVersion)Initializes a new instance of the XmpMeta class.
XmpMeta()Initializes a new instance of the XmpMeta class.

Methods

MethodDescription
addAttribute(String attribute, String value)Adds the attribute.
assign_internalized(XmpElementBase xmpElement)Assigns the specified XMP element to current one.
clearAttributes()Removes all attributes.
deepClone_internalized()Clones this instance.
equals(Object other)Determines whether the specified System.Object , is equal to this instance.
getAdobeXmpToolkit()Gets or set Adobe Xmp toolkit version.
getAttribute(String attribute)Gets the attribute.
getClass()
getXmlValue()Converts XMP value to the XML representation.
hashCode()Returns a hash code for this instance.
isEquals(XmpElementBase other)Indicates whether the current object is equal to another object of the same type.
isEquals(XmpMeta other)Indicates whether the current object is equal to another object of the same type.
notify()
notifyAll()
setAdobeXmpToolkit(String value)Gets or set Adobe Xmp toolkit version.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

XmpMeta(String toolkitVersion)

public XmpMeta(String toolkitVersion)

Initializes a new instance of the XmpMeta class.

Parameters:

ParameterTypeDescription
toolkitVersionjava.lang.StringAdobe XMP toolkit version.

XmpMeta()

public XmpMeta()

Initializes a new instance of the XmpMeta class.

addAttribute(String attribute, String value)

public void addAttribute(String attribute, String value)

Adds the attribute.

Parameters:

ParameterTypeDescription
attributejava.lang.StringThe attribute.
valuejava.lang.StringThe value.

assign_internalized(XmpElementBase xmpElement)

public void assign_internalized(XmpElementBase xmpElement)

Assigns the specified XMP element to current one.

Parameters:

ParameterTypeDescription
xmpElementXmpElementBaseThe XMP element.

clearAttributes()

public void clearAttributes()

Removes all attributes.

deepClone_internalized()

public final XmpElementBase deepClone_internalized()

Clones this instance.

Returns: XmpElementBase - The cloned object

equals(Object other)

public boolean equals(Object other)

Determines whether the specified System.Object , is equal to this instance.

Parameters:

ParameterTypeDescription
otherjava.lang.ObjectThe System.Object to compare with this instance.

Returns: boolean - true if the specified System.Object is equal to this instance; otherwise, false .

getAdobeXmpToolkit()

public String getAdobeXmpToolkit()

Gets or set Adobe Xmp toolkit version.

Returns: java.lang.String

getAttribute(String attribute)

public String getAttribute(String attribute)

Gets the attribute.

Parameters:

ParameterTypeDescription
attributejava.lang.StringThe attribute.

Returns: java.lang.String - Returns the attribute for specified attribute name.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getXmlValue()

public String getXmlValue()

Converts XMP value to the XML representation.

Returns: java.lang.String - Returns the XMP value converted to the XML representation.

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.

isEquals(XmpElementBase other)

public boolean isEquals(XmpElementBase other)

Indicates whether the current object is equal to another object of the same type.

Parameters:

ParameterTypeDescription
otherXmpElementBaseAn object to compare with this object.

Returns: boolean - true if the current object is equal to the other parameter; otherwise, false.

isEquals(XmpMeta other)

public boolean isEquals(XmpMeta other)

Indicates whether the current object is equal to another object of the same type.

Parameters:

ParameterTypeDescription
otherXmpMetaAn object to compare with this object.

Returns: boolean - true if the current object is equal to the other parameter; otherwise, false.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAdobeXmpToolkit(String value)

public void setAdobeXmpToolkit(String value)

Gets or set Adobe Xmp toolkit version.

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int