CitableBase.Citable
— TypeA citable unit of any kind is identified by a URN and has a human-readable label.
CitableBase.CitableByCite2Urn
— TypeValue for the CitableTrait for discrete objects.
CitableBase.CitableByCtsUrn
— TypeValue for the CitableTrait for citable text content.
CitableBase.CitableTrait
— TypeThe citable trait.
CitableBase.CitableTrait
— MethodDefault status is NotCitable.
CitableBase.NotCitable
— TypeValue for the CitableTrait for everything not citable.
CitableBase.Urn
— TypeUnique identifiers expressible in the syntax of the IETF's URN specification.
Base.:==
— MethodOverride Base.== for all Urn
types.
==(u1, u2)
CitableBase.addversion
— FunctionUrn subtypes should implement addversion(urn::U, versionid)::U
.
CitableBase.cex
— MethodCitable content should implement cex.
cex(_, obj, delim)
CitableBase.cex
— MethodCitable text content should implement cex.
cex(_, txt, delim)
CitableBase.cex
— MethodIt is an error to invoke the cex
function on material that is not citable.
cex(_, x, delim)
CitableBase.cex
— MethodDelegate to specific functions based on type's citable trait value.
cex(x)
cex(x, delim)
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
— MethodCitable content should implement cex.
label(_, obj)
CitableBase.label
— MethodCitable text content should implement cex.
label(_, txt)
CitableBase.label
— MethodIt is an error to invoke the cex
function on material that is not citable.
label(_, x)
CitableBase.label
— MethodDelegate to specific functions based on type's citable trait value.
CitableBase.parts
— Methodparts(componentString)
Splits a string on periods (seprator for parts within components of URNs).
Examples
julia> parts("tlg0012.tlg001.msA")
CitableBase.urn
— MethodCitable content should implement cex.
urn(_, obj)
CitableBase.urn
— MethodCitable text content should implement cex.
urn(_, txt)
CitableBase.urn
— MethodIt is an error to invoke the urn
function on material that is not citable.
urn(_, x)
CitableBase.urn
— MethodDelegate to specific functions based on type's citable trait value.
urn(x)
CitableBase.urncontains
— FunctionUrn subtypes should implement urncontains(urn1::U, urn2::U)::Bool
CitableBase.urnsimilar
— FunctionUrn subtypes should implement urnsimilar(urn1::U, urn2::U)::Bool
.