Module jonix.onix3

Class TextSourceLink

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

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

Text source link

A URL which provides a link to a full text accessible in digital form, from which the supporting text in <Text> is an extract. Use, for example, to link to an original review. Optional, and repeatable if the resource can be linked in more than one way, eg by URL or DOI, or where a linked full text is available in multiple parallel languages. Where multiple languages are used, all repeats must carry the language attribute.

Format Uniform Resource Locator, expressed in full URI syntax in accordance with W3C standards, suggested maximum length 300 characters. Note that non-ASCII characters, spaces and a handful of other special characters should be 'URL-encoded'. Any ampersand used to separate parameters in the URL must be expressed as &amp;
Reference name <TextSourceLink>
Short tag <x581>
Cardinality 0…n
Attributes language
Example <x581>https://www.nytimes.com/archives/2012-08-04/Berni%e8res.htm</x581> (note URL-encoding of è)

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.10
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
    • value

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

      Raw Format: Uniform Resource Locator, expressed in full URI syntax in accordance with W3C standards, suggested maximum length 300 characters. Note that non-ASCII characters, spaces and a handful of other special characters should be 'URL-encoded'. Any ampersand used to separate parameters in the URL must be expressed as &amp;

      (type: dt.NonEmptyURI)

    • EMPTY

      public static final TextSourceLink EMPTY
  • Constructor Details

    • TextSourceLink

      public TextSourceLink()
    • TextSourceLink

      public TextSourceLink(Element element)
  • Method Details