Class XmlI18nStringTranslation

java.lang.Object
dev.orne.i18n.jaxb.XmlI18nStringTranslation
All Implemented Interfaces:
Serializable

@API(status=INTERNAL, since="0.1") public class XmlI18nStringTranslation extends Object implements Serializable
XML representation of I18N string translation.

This class is based on class generated by JAXB Reference Implementation v2.3.2, but modified to correct deficiencies caused by Issue 1108.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="translation">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attribute name="lang" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </simpleContent>
 </complexType>
 
Since:
0.1
Version:
1.0, 2021-02
Author:
(w) Iker Hernaez
See Also:
  • Field Details

    • lang

      protected String lang
      The translation language.
    • value

      protected String value
      The translation text.
  • Constructor Details

    • XmlI18nStringTranslation

      public XmlI18nStringTranslation()
      Creates a new instance.
  • Method Details

    • getLang

      public String getLang()
      Gets the translation language.
      Returns:
      The translation language
    • setLang

      public void setLang(String value)
      Sets the translation language.
      Parameters:
      value - The translation language
    • getValue

      public String getValue()
      Gets the translation text.
      Returns:
      The translation text
    • setValue

      public void setValue(String value)
      Sets the translation text.
      Parameters:
      value - The translation text