
**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
[com.aspose.psd.xmp.IXmlValue](../../com.aspose.psd.xmp/ixmlvalue)
```
public class LangAlt implements IXmlValue
```

Represents XMP Language Alternative.
## Constructors

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

| Method | Description |
| --- | --- |
| [addLanguage(String language, String value)](#addLanguage-java.lang.String-java.lang.String-) | Adds the language. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getXmlValue()](#getXmlValue--) | Converts XMP value to the XML representation. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) | Returns a  System.String  that represents this instance. |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### LangAlt(String defaultValue) {#LangAlt-java.lang.String-}
```
public LangAlt(String defaultValue)
```


Initializes a new instance of the  LangAlt  class.

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

### LangAlt() {#LangAlt--}
```
public LangAlt()
```


Initializes a new instance of the  LangAlt  class.

### addLanguage(String language, String value) {#addLanguage-java.lang.String-java.lang.String-}
```
public void addLanguage(String language, String value)
```


Adds the language.

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

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




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

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getXmlValue() {#getXmlValue--}
```
public String getXmlValue()
```


Converts XMP value to the XML representation.

**Returns:**
java.lang.String - Returns the XMP value converted to the XML representation.
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




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


Returns a  System.String  that represents this instance.

**Returns:**
java.lang.String - A  System.String  that represents this instance.
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

