- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,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 & |
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 è) |
- Since:
- Onix-3.10
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final TextSourceLink
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of TextSourceLink. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<TextSourceLink> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
language
-
value
This is the raw content of TextSourceLink. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.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 &
(type: dt.NonEmptyURI)
-
EMPTY
-
-
Constructor Details
-
TextSourceLink
public TextSourceLink() -
TextSourceLink
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-