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

Represents the XMP Rendition.
## Constructors

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

| Method | Description |
| --- | --- |
| [getToken()](#getToken--) | Gets or sets the token. |
| [setToken(String value)](#setToken-java.lang.String-) | Gets or sets the token. |
| [getValue()](#getValue--) | Gets or sets the value. |
| [setValue(String value)](#setValue-java.lang.String-) | Gets or sets the value. |
| [getDefinedValues()](#getDefinedValues--) | The defined values |
| [getXmpRepresentation()](#getXmpRepresentation--) | Gets the string contained value in XMP format. |
### RenditionClass() {#RenditionClass--}
```
public RenditionClass()
```


Initializes a new instance of the `RenditionClass` class.

### RenditionClass(String token, String value) {#RenditionClass-java.lang.String-java.lang.String-}
```
public RenditionClass(String token, String value)
```


Initializes a new instance of the `RenditionClass` class.

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

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


Gets or sets the token.

Value: The token.

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


Gets or sets the token.

Value: The token.

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

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


Gets or sets the value.

Value: The value.

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


Gets or sets the value.

Value: The value.

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

### getDefinedValues() {#getDefinedValues--}
```
public static String[] getDefinedValues()
```


The defined values

**Returns:**
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.
