Module jonix.onix3

Class WebsiteLink

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

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

Link to website

The URL for the website. Mandatory in each occurrence of the <Website> composite, and repeatable to provide multiple URLs where the website content is available in multiple languages. The language attribute is optional for a single instance of <WebsiteLink>, but must be included in each instance if <WebsiteLink> is repeated.

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 <WebsiteLink>
Short tag <b295>
Cardinality 1…n
Attributes language
Example <b295>https://xyzbooks.com/joe_bloggs.htm</b295>

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

    • WebsiteLink

      public WebsiteLink()
    • WebsiteLink

      public WebsiteLink(Element element)
  • Method Details