LangAlt

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.imaging.xmp.IXmlValue

public class LangAlt implements IXmlValue

Represents XMP Language Alternative.

Constructors

ConstructorDescription
LangAlt(String defaultValue)Initializes a new instance of the LangAlt class.
LangAlt()Initializes a new instance of the LangAlt class.

Methods

MethodDescription
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:

ParameterTypeDescription
defaultValuejava.lang.StringThe 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:

ParameterTypeDescription
languagejava.lang.StringThe language.
valuejava.lang.StringThe 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.