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

Represents a value from vocabulary of values.
## Constructors

| Constructor | Description |
| --- | --- |
| [XmpChoise()](#XmpChoise--) | Initializes a new instance of the `XmpChoise\{T\}` class. |
## Methods

| Method | Description |
| --- | --- |
| [isOpen()](#isOpen--) | Gets or sets a value indicating whether the preferred values can be extended. |
| [setOpen(boolean value)](#setOpen-boolean-) | Gets or sets a value indicating whether the preferred values can be extended. |
| [getXmpRepresentation()](#getXmpRepresentation--) | Gets the string contained value in XMP format. |
### XmpChoise() {#XmpChoise--}
```
public XmpChoise()
```


Initializes a new instance of the `XmpChoise\{T\}` class.

### isOpen() {#isOpen--}
```
public boolean isOpen()
```


Gets or sets a value indicating whether the preferred values can be extended.

Value: `true` if preferred values can be extended; otherwise, `false`.

**Returns:**
boolean
### setOpen(boolean value) {#setOpen-boolean-}
```
public void setOpen(boolean value)
```


Gets or sets a value indicating whether the preferred values can be extended.

Value: `true` if preferred values can be extended; otherwise, `false`.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### 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.
