public final class XmpLangAlt extends XmpArray
Represents XMP Language Alternative. <br></br>
| Constructor and Description |
|---|
XmpLangAlt(Hashtable<String,String> dictionary)
Initializes a new instance of the
XmpLangAlt class. |
XmpLangAlt(String defaultValue)
Initializes a new instance of the
XmpLangAlt class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String language)
Determines whether the
XmpLangAlt contains the specified language. |
String |
get_Item(String language)
Gets the value associated with the specified language.
|
String[] |
getLanguages()
Gets an array of all languages registered in the instance of
XmpLangAlt. |
String |
getXmpRepresentation()
Converts XMP value to the xml representation.
|
from, from, from, from, from, getArrayType, toPlatformArraytoStringacceptValue, getEmpty, getRawValue, getType, toArray, toClasspublic XmpLangAlt(Hashtable<String,String> dictionary)
Initializes a new instance of the XmpLangAlt class.
dictionary - A dictionary containing values by languages.public XmpLangAlt(String defaultValue)
Initializes a new instance of the XmpLangAlt class.
defaultValue - The default value.public final boolean contains(String language)
Determines whether the XmpLangAlt contains the specified language.
language - The language to locate in the XmpLangAlt.XmpLangAlt contains an element with the specified language; otherwise, false.public final String get_Item(String language)
Gets the value associated with the specified language.
language - The language.
Value: String value.public final String[] getLanguages()
Gets an array of all languages registered in the instance of XmpLangAlt.
XmpLangAlt.public String getXmpRepresentation()
Converts XMP value to the xml representation.
getXmpRepresentation in interface IXmpTypegetXmpRepresentation in class XmpArraystring representation of XMP value.Copyright © 2026. All rights reserved.