XmpProperty Class
A name-value pair in XMP metadata.
Declaration
public final class XmpProperty extends Struct<XmpProperty> implements IEquatable<XmpProperty>
Implements
Inherited Members
Inheritance
Constructors
XmpProperty() Constructor
Initializes a new instance of the XmpProperty class.
Declaration
public XmpProperty()
XmpProperty(String name, String value) Constructor
Initializes a new instance of the XmpProperty class with the specified name and value.
Declaration
public XmpProperty(String name, String value)
Parameters
| Name | Type | Description |
|---|---|---|
| name | String | The property name. |
| value | String | The property value. |
Methods
equals(Object obj) Method
Returns whether the specified object is equal to the current property.
Declaration
public boolean equals(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | The object to compare with the current property. |
Returns
| Type | Description |
|---|---|
| boolean |
|
equals(XmpProperty other) Method
Returns whether the specified XMP property is equal to the current property.
Declaration
public boolean equals(XmpProperty other)
Parameters
| Name | Type | Description |
|---|---|---|
| other | XmpProperty |
The XMP property to compare with the current property. |
Returns
| Type | Description |
|---|---|
| boolean |
|
getName() Method
Returns the property name.
Declaration
public String getName()
Returns
| Type | Description |
|---|---|
| String | The property name. |
getValue() Method
Returns the property value.
Declaration
public String getValue()
Returns
| Type | Description |
|---|---|
| String | The property value. |
hashCode() Method
Returns the hash code for this XMP property.
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int | The hash code. |