CitableBase.Citable
— TypeA citable unit of any kind is identified by a URN and has a human-readable label.
CitableBase.Urn
— TypeUnique identifiers expressible in the syntax of the IETF's URN specification.
CitableBase.addversion
— FunctionUrn subtypes should implement addversion(urn::U, versionid)::U
.
CitableBase.cex
— FunctionCitable content should implement cex(c::Citable)
.
CitableBase.components
— Methodcomponents(uString)
Splits a string on colons (separator for top-level components of URNs).
Examples
julia> components("urn:cts:greekLit:tlg0012.tlg001.msA:1.1")
CitableBase.components
— Methodcomponents(u)
Splits a URN's string representation into top-level components.
CitableBase.dropversion
— FunctionUrn subtypes should implement dropversion(urn::U)::U
.
CitableBase.label
— FunctionCitable content should implement label(c::Citable)
.
CitableBase.parts
— Methodparts(componentString)
Splits a string on periods (seprator for parts within components of URNs).
Examples
julia> parts("tlg0012.tlg001.msA")
CitableBase.urn
— FunctionCitable content should implement urn(c::Citable)::Urn
CitableBase.urncontains
— FunctionUrn subtypes should implement urncontains(urn1::U, urn2::U)::Bool
CitableBase.urnmatches
— FunctionUrn subtypes should implement urnmatches(urn1::U, urn2::U)::Bool
.