CitableBase.CexSerializable
— TypeValue for the CexTrait for serializable content.
CitableBase.CexTrait
— TypeTrait for objects serializable in CEX format.
CitableBase.CexTrait
— MethodDefine default value of CitableTrait as NotCexSerializable.
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
— TypeAbstraction of values for a citable trait.
CitableBase.CitableTrait
— MethodDefine default value of CitableTrait as NotCitable.
CitableBase.NotCexSerializable
— TypeValue for the CexTrait for content not serializable to CEX format.
CitableBase.NotCitable
— TypeValue for the CitableTrait for everything not citable.
CitableBase.NotUrnComparable
— TypeValue of the UrnComparisonTrait for evertything that can NOT be compared using URN logic.
CitableBase.Urn
— TypeUnique identifiers expressible in the syntax of the IETF's URN specification.
CitableBase.UrnComparable
— TypeValue of the UrnComparisonTrait for evertything that can be compared using URN logic.
CitableBase.UrnComparisonTrait
— TypeAbstraction of values for URN manipulation.
CitableBase.UrnComparisonTrait
— MethodDefine default value of UrnComparisonTrait as NotUrnComparable.
CitableBase.UrnComparisonTrait
— MethodAll subtypes of Urn
are URN comparable.
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; delimiter)
CitableBase.cex
— MethodCitable text content should implement cex
.
cex(, txt; delimiter)
CitableBase.cex
— MethodIt is an error to invoke the cex
function on material that is not CEX serializable.
cex(, x; delimiter)
CitableBase.cex
— MethodDelegate cex
to specific functions based on type's citable trait value.
CitableBase.citableobject
— MethodTrue if x
is a citable object.
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.fromcex
— MethodDelegate fromcex
to specific functions based on type's citable trait value.
fromcex(s, T; delimiter)
CitableBase.fromcex
— MethodCitable content should implement fromcex
.
fromcex(, obj; delimiter)
CitableBase.fromcex
— MethodCitable text content should implement fromcex
.
fromcex(, txt; delimiter)
CitableBase.fromcex
— MethodIt is an error to invoke the fromcex
function on material that is not CEX serializable.
fromcex(, cex, T; delimiter)
CitableBase.label
— MethodCitable content should implement label
.
label(_, obj)
CitableBase.label
— MethodCitable text content should implement label
.
label(_, txt)
CitableBase.label
— MethodIt is an error to invoke the label
function on material that is not citable.
label(_, x)
CitableBase.label
— MethodDelegate label
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 urn
.
urn(_, txt)
CitableBase.urn
— MethodIt is an error to invoke the urn
function on material that is not citable.
urn(_, x)
CitableBase.urn
— MethodDelegate urn
to specific functions based on type's citable trait value.
CitableBase.urncontains
— MethodURN-comparable objects must implement urncontains
.
urncontains(x)
CitableBase.urnsimilar
— MethodURN-comparable objects must implement urnsimilar
.