Module jonix.onix3

Class ResourceFileLink

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

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

Resource file link

A URL which provides a link to a resource. Mandatory in each occurrence of the <CoverResource> composite unless <NoResource/> is present, and repeatable if the resource can be linked in more than one way, eg by HTTP, FTP and DOI URLs.

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 <ResourceFileLink>
Short tag <x572>
Cardinality 1…n
Example <x572>https://www.e-pblshr.com/9780001234567/plates%202.pdf</x572> (file is named 'plates 2.pdf')

This tag may be included in the following composites:

Possible placements within ONIX message:

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

      public String value
      This is the raw content of ResourceFileLink. 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 ResourceFileLink EMPTY
  • Constructor Details

    • ResourceFileLink

      public ResourceFileLink()
    • ResourceFileLink

      public ResourceFileLink(Element element)
  • Method Details