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, toPlatformArray
toString
acceptValue, getRawValue, getType, toArray, toClass
public XmpLangAlt(String defaultValue)
Initializes a new instance of the XmpLangAlt
class.
defaultValue
- The default value.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 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 String getXmpRepresentation()
Converts XMP value to the xml representation.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpArray
string
representation of XMP value.