Module jonix.onix2

Class LanguageOfText

java.lang.Object
com.tectonica.jonix.onix2.LanguageOfText
All Implemented Interfaces:
OnixElement<Languages>, OnixTag, Serializable

@Deprecated public class LanguageOfText extends Object implements OnixElement<Languages>, Serializable
Deprecated.

Language of text

A code indicating a language in which the text of the product is written: optional, and repeatable if the text is in two or more languages. The <Language> composite on the next page provides a more general method of handling language detail, and is to be preferred.

Format Fixed-length, three lower-case letters. Note that ISO 639 specifies that these codes should always be in lower-case.
Codelist ISO 639-2/B List 74
Reference name <LanguageOfText>
Short tag <b059>
Example <LanguageOfText>eng</LanguageOfText>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • LanguageOfText

      public LanguageOfText()
      Deprecated.
    • LanguageOfText

      public LanguageOfText(Element element)
      Deprecated.
  • Method Details

    • __v

      public Languages __v()
      Deprecated.
      Internal API, use the OnixElement.value() method or the OnixElement.value() field instead
      Specified by:
      __v in interface OnixElement<Languages>
    • exists

      public boolean exists()
      Deprecated.
      Description copied from interface: OnixTag
      indicates whether this tag exists in the ONIX record
      Specified by:
      exists in interface OnixTag
      Returns:
      whether this tag (<LanguageOfText> or <b059>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<LanguageOfText> action)
      Deprecated.
    • codeOrNull

      public String codeOrNull()
      Deprecated.
    • descriptionOrNull

      public String descriptionOrNull()
      Deprecated.