java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.project.ds.xml.r17.parsing.XmlLanguageDS
All Implemented Interfaces:
IReportingDS, ILanguageDS

public class XmlLanguageDS extends ReportingDS implements ILanguageDS
Xml datasource implementation.
Since:
7.3
Author:
Danny Roest
  • Constructor Details

  • Method Details

    • getCode

      public String getCode()
      Description copied from interface: ILanguageDS
      Returns the (unique) code of the language, which can be in the form of a language-country code specification. The country code specification is optional which renders a "en-GB" as a valid locale code. If one requires a specific language and country combination en-GB can be used.

      The language code comes from iso-639 table

      The country code comes from iso-3166 table

      Specified by:
      getCode in interface ILanguageDS
      Returns:
      The code string, which should never be null
    • getFormatName

      public String getFormatName(DataType type)
      Description copied from interface: ILanguageDS
      This method should return the name of the value format that should be used to convert values of the specified type for this language.
      Specified by:
      getFormatName in interface ILanguageDS
      Parameters:
      type - The type of the values for which the format name is requested.
      Returns:
      The name of the value format that should be used.
    • getName

      public String getName()
      Description copied from interface: ILanguageDS
      Returns a (unique) name for the specified language.
      Specified by:
      getName in interface ILanguageDS
      Returns:
      A name which should be unique for the application and never be null or zero-length.