Class XmlLanguageDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.project.ds.xml.parsing.XmlLanguageDS
- All Implemented Interfaces:
IReportingDS
,ILanguageDS
Xml datasource implementation.
- Since:
- 7.3
- Author:
- Danny Roest
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XmlLanguageDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Returns the (unique) code of the language, which can be in the form of a language-country code specification.getFormatName
(DataType type) This method should return the name of the value format that should be used to convert values of the specified type for this language.getName()
Returns a (unique) name for the specified language.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
XmlLanguageDS
-
-
Method Details
-
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 interfaceILanguageDS
- Returns:
- The code string, which should never be null
-
getFormatName
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 interfaceILanguageDS
- 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
Description copied from interface:ILanguageDS
Returns a (unique) name for the specified language.- Specified by:
getName
in interfaceILanguageDS
- Returns:
- A name which should be unique for the application and never be null or zero-length.
-