Module jonix.onix2

Class Bible

java.lang.Object
com.tectonica.jonix.onix2.Bible
All Implemented Interfaces:
OnixComposite, OnixComposite.OnixDataComposite<JonixBible>, OnixTag, Serializable

public class Bible extends Object implements OnixComposite.OnixDataComposite<JonixBible>, Serializable

Bible composite

A group of data elements which together describe features of an edition of the Bible or of a selected Biblical text. Mandatory in each occurrence of the <ReligiousText> composite that does not include a <ReligiousTextID> element, and non-repeating.

Reference name <Bible>
Short tag <bible>

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-2.1
See Also:
  • Field Details

  • Constructor Details

    • Bible

      public Bible()
    • Bible

      public Bible(Element element)
  • Method Details

    • _initialize

      public void _initialize()
      Description copied from interface: OnixComposite
      This is an internal API. Since Jonix 8.0, composite objects are being populated lazily. This method initiates the population process, and is invoked internally by the accessor APIs of the composites
      Specified by:
      _initialize in interface OnixComposite
    • exists

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

      public void ifExists(Consumer<Bible> action)
    • getXmlElement

      public Element getXmlElement()
      Description copied from interface: OnixComposite
      For advanced use-cases only.
      Specified by:
      getXmlElement in interface OnixComposite
      Returns:
      native representation of the XML element underlying to this tag
    • bibleContentss

      An ONIX code indicating the content of an edition of the Bible or selected Biblical text, for example New Testament, Apocrypha, Pentateuch. Mandatory in each occurrence of the <Bible> composite, and repeatable so that a list such as Old Testament and Apocrypha can be expressed.

      Jonix-Comment: this list is required to contain at least one item
    • bibleVersions

      An ONIX code indicating the version of a Bible or selected Biblical text, for example King James, Jerusalem, New American Standard, Reina Valera. Mandatory in each occurrence of the <Bible> composite, and repeatable if a work includes text in two or more versions.

      Jonix-Comment: this list is required to contain at least one item
    • studyBibleType

      public StudyBibleType studyBibleType()

      An ONIX code identifying a particular study version of a Bible or selected Biblical text, for example Life Application. Optional and non-repeating. Some study Bibles are available in different editions based on different text versions.

      Jonix-Comment: this field is optional
    • bibleTextOrganization

      public BibleTextOrganization bibleTextOrganization()

      An ONIX code indicating the way in which the content of a Bible or selected Biblical text is organized, for example Chronological, Chain reference. Optional and non-repeating.

      Jonix-Comment: this field is optional
    • bibleReferenceLocation

      public BibleReferenceLocation bibleReferenceLocation()

      An ONIX code indicating where references are located as part of the content of a Bible or selected Biblical text, for example Center column. Optional and non-repeating.

      Jonix-Comment: this field is optional
    • biblePurposes

      An ONIX code indicating the purpose for which a Bible or selected Biblical text is intended, for example Family, Lectern/pulpit. Optional and repeatable.

      Jonix-Comment: this list may be empty
    • bibleTextFeatures

      An ONIX code specifying a feature of a Bible text not covered elsewhere, eg red letter. Optional and repeatable.

      Jonix-Comment: this list may be empty
    • asStruct

      public JonixBible asStruct()
      Specified by:
      asStruct in interface OnixComposite.OnixDataComposite<JonixBible>