**Inheritance:**
java.lang.Object, [com.aspose.imaging.xmp.types.XmpTypeBase](../../com.aspose.imaging.xmp.types/xmptypebase)
```
public class XmpText extends XmpTypeBase
```

Represents XMP Text basic type.
## Constructors

| Constructor | Description |
| --- | --- |
| [XmpText(String value)](#XmpText-java.lang.String-) | Initializes a new instance of the `XmpText` class. |
## Methods

| Method | Description |
| --- | --- |
| [getValue()](#getValue--) | Gets or sets the text value. |
| [setValue(String value)](#setValue-java.lang.String-) | Gets or sets the text value. |
| [getXmpRepresentation()](#getXmpRepresentation--) | Gets the string contained value in XMP format. |
### XmpText(String value) {#XmpText-java.lang.String-}
```
public XmpText(String value)
```


Initializes a new instance of the `XmpText` class.

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

### getValue() {#getValue--}
```
public String getValue()
```


Gets or sets the text value.

Value: The text value.

**Returns:**
java.lang.String
### setValue(String value) {#setValue-java.lang.String-}
```
public void setValue(String value)
```


Gets or sets the text value.

Value: The text value.

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

### getXmpRepresentation() {#getXmpRepresentation--}
```
public String getXmpRepresentation()
```


Gets the string contained value in XMP format.

**Returns:**
java.lang.String - Returns the string contained value in XMP format.
