CitableBase.CexSerializable
— TypeValue for the CexTrait for serializable content.
CitableBase.CexTrait
— TypeTrait for objects serializable in CEX format.
CitableBase.Citable
— TypeA citable unit of any kind is identified by a URN and has a human-readable label.
CitableBase.CitableCollectionTrait
— TypeAbstraction of values for a citable library collection trait.
CitableBase.CitableTrait
— TypeAbstraction of values for a citable trait.
CitableBase.NotCexSerializable
— TypeValue for the CexTrait for content not serializable to CEX format.
CitableBase.NotCitable
— TypeValue for the CitableTrait for everything not citable.
CitableBase.NotCitableCollection
— TypeValue for the CitableCollectionTrait for evertything that is not a citable library collection.
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.UrnComparisonTrait
— TypeAbstraction of values for URN manipulation.
Base.:==
— MethodOverride Base.== for all Urn
types.
CitableBase.addversion
— FunctionUrn subtypes should implement addversion(urn::U, versionid)::U
.
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 cextrait
value.
CitableBase.cexserializable
— MethodTrue if type T
is serializable to CEX format
CitableBase.cextrait
— MethodSubtypes of Citable
are CexSerializable
.
cextrait(_)
CitableBase.cextrait
— MethodThe default value of CexTrait
is NotCexSerializable
.
cextrait(_)
CitableBase.citable
— MethodTrue if x
is a citable object.
CitableBase.citablecollection
— MethodTrue if x
has the value CitableCollection
for the CitableCollectionTrait
.
CitableBase.citablecollectiontrait
— MethodDefine default value of CitableCollectionTrait as NotCitableCollection.
CitableBase.citabletrait
— MethodDefine default value of CitableTrait as NotCitable.
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
— MethodSplits a URN's string representation into top-level components.
CitableBase.dropversion
— FunctionUrn subtypes should implement dropversion(urn::U)::U
.
CitableBase.fromcex
— MethodInstantiate an object of type T
from CEX-formatted data cexsrc
by dispatching based on cextrait
of T
.
fromcex(cexsrc, T; delimiter, configuration)
CitableBase.fromcex
— MethodIt is an error to invoke the fromcex
function on material that is not CEX serializable.
fromcex(, cex, T; delimiter, configuration)
CitableBase.fromcex
— MethodIt is an error invoke fromcex
function with an unimplemented trait value.
fromcex(traitvalue, cexsrc, T; delimiter, configuration)
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.
label(x)
CitableBase.parts
— Methodparts(componentString)
Splits a string on periods (seprator for parts within components of URNs).
Examples
julia> parts("tlg0012.tlg001.msA")
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.urncomparable
— MethodTrue if type T
implements the UrnComparisonTrait
.
CitableBase.urncomparisontrait
— MethodDefault value of UrnComparisonTrait
is NotUrnComparable
.
CitableBase.urncontains
— MethodURN-comparable objects must implement urncontains
.
CitableBase.urnequals
— MethodURN-comparable objects must implement urnequals
.
urnequals(x, y)
CitableBase.urnequals
— MethodFor subtypes of Urn
, implement urnequals
concretely.
urnequals(u1, u2)
CitableBase.urnsimilar
— MethodURN-comparable objects must implement urnsimilar
.