Skip to main content

XmpProperty Class

A name-value pair in XMP metadata.

Declaration

public final class XmpProperty extends Struct<XmpProperty> implements IEquatable<XmpProperty>

Implements

com.devexpress.system.IEquatable<com.devexpress.docs.pdf.XmpProperty>

Inherited Members

com.devexpress.system.Struct.equals(java.lang.Object)
com.devexpress.system.Struct.getHashCode()
com.devexpress.system.Struct.hashCode()
java.lang.Object.clone()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.Struct
XmpProperty

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

true if the specified object is equal to the current property; otherwise, false.

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

true if the specified property is equal to the current property; otherwise, false.

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.