Packages

 

com.aspose.psd.xmp

Class LangAlt

  • All Implemented Interfaces:
    IXmlValue


    public class LangAlt
    extends Object
    implements IXmlValue

    Represents XMP Language Alternative.

    • Constructor Detail

      • LangAlt

        public LangAlt(String defaultValue)

        Initializes a new instance of the LangAlt class.

        Parameters:
        defaultValue - The default value.
      • LangAlt

        public LangAlt()

        Initializes a new instance of the LangAlt class.

    • Method Detail

      • addLanguage

        public void addLanguage(String language,
                                String value)

        Adds the language.

        Parameters:
        language - The language.
        value - The language value.
      • toString

        public String toString()

        Returns a System.String that represents this instance.

        Overrides:
        toString in class Object
        Returns:
        A System.String that represents this instance.
      • getXmlValue

        public String getXmlValue()

        Converts XMP value to the XML representation.

        Specified by:
        getXmlValue in interface IXmlValue
        Returns:
        Returns the XMP value converted to the XML representation.