LangAlt
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.imaging.xmp.IXmlValue
public class LangAlt implements IXmlValue
Represents XMP Language Alternative.
Constructors
Constructor | Description |
---|---|
LangAlt(String defaultValue) | Initializes a new instance of the LangAlt class. |
LangAlt() | Initializes a new instance of the LangAlt class. |
Methods
Method | Description |
---|---|
addLanguage(String language, String value) | Adds the language. |
toString() | Returns a System.String that represents this instance. |
getXmlValue() | Converts XMP value to the XML representation. |
LangAlt(String defaultValue)
public LangAlt(String defaultValue)
Initializes a new instance of the LangAlt
class.
Parameters:
Parameter | Type | Description |
---|---|---|
defaultValue | java.lang.String | The default value. |
LangAlt()
public LangAlt()
Initializes a new instance of the LangAlt
class.
addLanguage(String language, String value)
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. |
toString()
public String toString()
Returns a System.String
that represents this instance.
Returns:
java.lang.String - A System.String
that represents this instance.
getXmlValue()
public String getXmlValue()
Converts XMP value to the XML representation.
Returns: java.lang.String - Returns the XMP value converted to the XML representation.