Module jonix.onix2

Class TextWithDownload

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

public class TextWithDownload extends Object implements OnixElement<String>, Serializable

Text accompanying download

Unstructured text associated with a file which is available for download, and intended to be displayed whenever the file content is used. Optional and non-repeating. Text may include credits, copyright notice, etc. If this field is sent, the individual elements <DownloadCaption>, <DownloadCredit>, and <DownloadCopyrightNotice> must not be sent, and vice versa.

Format Variable-length text, suggested maximum length 1,000 characters (XHTML is enabled in this element - see ONIX for Books - Product Information Message - XML Message Specification, Section 7)
Reference name <TextWithDownload>
Short tag <f118>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • textformat

      public TextFormats textformat
    • textcase

      public TextCaseFlags textcase
    • language

      public Languages language
    • transliteration

      public TransliterationSchemes transliteration
    • datestamp

      public String datestamp
      (type: DateOrDateTime)
    • sourcetype

      public RecordSourceTypes sourcetype
    • sourcename

      public String sourcename
    • value

      public String value
      This is the raw content of TextWithDownload. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Variable-length text, suggested maximum length 1,000 characters (XHTML is enabled in this element - see ONIX for Books - Product Information Message - XML Message Specification, Section 7)

      (type: XHTML)

    • EMPTY

      public static final TextWithDownload EMPTY
  • Constructor Details

    • TextWithDownload

      public TextWithDownload()
    • TextWithDownload

      public TextWithDownload(Element element)
  • Method Details