Module jonix.onix3

Class TextSourceDescription

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

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

Text source description

Brief text describing or providing context for the text author or corporate source, at the publisher’s discretion, and intended to be used in addition to <TextAuthor> or <TextSourceCorporate>. Optional, and repeatable to provide parallel descriptions in multiple languages. The language attribute is optional for a single instance of <TextSourceDescription>, but must be included in each instance if <TextSourceDescription> is repeated. The description may be used with either a person or corporate name, to draw attention to any aspect of the text source’s background which provides context for the text in <Text>.

Format Variable length text, suggested maximum length 200 characters. XHTML is enabled in this element - see Using XHTML, HTML, XML, JSON within ONIX text fields
Reference name <TextSourceDescription>
Short tag <x557>
Cardinality 0…n
Attributes language, textformat
Example <TextSourceDescription textformat="05">Literary editor of <cite>The Spectator</cite></ContributorDescription>

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.07
See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • language

      public Languages language
    • textformat

      public TextFormats textformat
    • value

      public String value
      This is the raw content of TextSourceDescription. 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 200 characters. XHTML is enabled in this element - see Using XHTML, HTML, XML, JSON within ONIX text fields

      (type: XHTML)

    • EMPTY

      public static final TextSourceDescription EMPTY
  • Constructor Details

    • TextSourceDescription

      public TextSourceDescription()
    • TextSourceDescription

      public TextSourceDescription(Element element)
  • Method Details