public final class LangAlt extends XmpValueBase implements IXmlValue
Represents XMP Language Alternative. <br></br>
Constructor and Description |
---|
LangAlt()
Initializes a new instance of the
LangAlt class. |
LangAlt(String defaultValue)
Initializes a new instance of the
LangAlt class. |
Modifier and Type | Method and Description |
---|---|
void |
addLanguage(String language,
String value)
Adds the language.
|
String |
get_Item(String language)
Gets the value for the specified language.
|
String |
getXmlValue()
Converts XMP value to the xml representation.
|
String |
toString()
Returns a
System.String that represents this instance. |
toBool, toDateTime, toFloat, toGuid, toInt, toStringArray
public LangAlt(String defaultValue)
Initializes a new instance of the LangAlt
class.
defaultValue
- The default value.public LangAlt()
Initializes a new instance of the LangAlt
class.
public final String get_Item(String language)
Gets the value for the specified language.
language
- The language.
Value:
String value.public final void addLanguage(String language, String value)
Adds the language.
language
- The language.value
- The value.public String toString()
Returns a System.String
that represents this instance.
toString
in class XmpValueBase
System.String
that represents this instance.public final String getXmlValue()
Converts XMP value to the xml representation.
getXmlValue
in interface IXmlValue
string
representation of XMP value.Copyright © 2017. All rights reserved.