**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct
```
public class XmpValue extends Struct<XmpValue>
```

XML node value representing an XMP value entry.
## Constructors

| Constructor | Description |
| --- | --- |
| [XmpValue()](#XmpValue--) |  |
| [XmpValue(String value)](#XmpValue-java.lang.String-) |  |
## Methods

| Method | Description |
| --- | --- |
| [to_String(XmpValue value)](#to-String-com.aspose.imaging.xmp.types.XmpValue-) | Converts the `value` to a string. |
| [to_XmpValue(String value)](#to-XmpValue-java.lang.String-) | Converts the `value` to an [XmpValue](../../com.aspose.imaging.xmp.types/xmpvalue) entry. |
| [getValue()](#getValue--) | Gets the XMP value string or ``, if value does not exist. |
| [getType()](#getType--) | Gets the XMP value type. |
| [equals(XmpValue other)](#equals-com.aspose.imaging.xmp.types.XmpValue-) | Compares this `Value`(\#getValue.getValue) to other `Value`(\#getValue.getValue). |
| [equals(Object other)](#equals-java.lang.Object-) | Compares this `Value`(\#getValue.getValue) to other of `Value`(\#getValue.getValue). |
| [hashCode()](#hashCode--) | Gets the `Value`(\#getValue.getValue) hash code. |
| [toString()](#toString--) | Gets `Value`(\#getValue.getValue). |
| [CloneTo(XmpValue that)](#CloneTo-com.aspose.imaging.xmp.types.XmpValue-) |  |
| [Clone()](#Clone--) |  |
### XmpValue() {#XmpValue--}
```
public XmpValue()
```


### XmpValue(String value) {#XmpValue-java.lang.String-}
```
public XmpValue(String value)
```


**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### to_String(XmpValue value) {#to-String-com.aspose.imaging.xmp.types.XmpValue-}
```
public static String to_String(XmpValue value)
```


Converts the `value` to a string.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [XmpValue](../../com.aspose.imaging.xmp.types/xmpvalue) | The string value. |

**Returns:**
java.lang.String - String.
### to_XmpValue(String value) {#to-XmpValue-java.lang.String-}
```
public static XmpValue to_XmpValue(String value)
```


Converts the `value` to an [XmpValue](../../com.aspose.imaging.xmp.types/xmpvalue) entry.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | The string value. |

**Returns:**
[XmpValue](../../com.aspose.imaging.xmp.types/xmpvalue) - [XmpValue](../../com.aspose.imaging.xmp.types/xmpvalue).
### getValue() {#getValue--}
```
public final String getValue()
```


Gets the XMP value string or ``, if value does not exist.

**Returns:**
java.lang.String - the XMP value string or ``, if value does not exist.
### getType() {#getType--}
```
public final int getType()
```


Gets the XMP value type.

**Returns:**
int - the XMP value type.
### equals(XmpValue other) {#equals-com.aspose.imaging.xmp.types.XmpValue-}
```
public final boolean equals(XmpValue other)
```


Compares this `Value`(\#getValue.getValue) to other `Value`(\#getValue.getValue).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| other | [XmpValue](../../com.aspose.imaging.xmp.types/xmpvalue) | `other` |

**Returns:**
boolean - ``
### equals(Object other) {#equals-java.lang.Object-}
```
public boolean equals(Object other)
```


Compares this `Value`(\#getValue.getValue) to other of `Value`(\#getValue.getValue).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| other | java.lang.Object | `other` |

**Returns:**
boolean - ``
### hashCode() {#hashCode--}
```
public int hashCode()
```


Gets the `Value`(\#getValue.getValue) hash code.

**Returns:**
int - ``
### toString() {#toString--}
```
public String toString()
```


Gets `Value`(\#getValue.getValue).

**Returns:**
java.lang.String - `Value`(\#getValue.getValue).
### CloneTo(XmpValue that) {#CloneTo-com.aspose.imaging.xmp.types.XmpValue-}
```
public void CloneTo(XmpValue that)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| that | [XmpValue](../../com.aspose.imaging.xmp.types/xmpvalue) |  |

### Clone() {#Clone--}
```
public XmpValue Clone()
```




**Returns:**
[XmpValue](../../com.aspose.imaging.xmp.types/xmpvalue)
