Module jonix.onix3

Class ResourceLink

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

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

Resource link

A URL which provides a link to cited content which is accessible in digital form. Optional, and repeatable if the resource can be linked in more than one way, eg by URL or DOI, or where a cited resource 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 <ResourceLink>
Short tag <x435>
Cardinality 0…n
Attributes language
Example <x435>https://www.zzzzzzzz.com/resource.htm</x435>

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:
    • 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 ResourceLink. 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 ResourceLink EMPTY
  • Constructor Details

    • ResourceLink

      public ResourceLink()
    • ResourceLink

      public ResourceLink(Element element)
  • Method Details