CitableBase.CitableType

A citable unit of any kind is identified by a URN and has a human-readable label.

CitableBase.UrnType

Unique identifiers expressible in the syntax of the IETF's URN specification.

Base.:==Method

Override Base.== for all Urn types.

==(u1, u2)
CitableBase.cexMethod

Citable content should implement cex.

cex(, obj; delimiter)
CitableBase.cexMethod

Citable text content should implement cex.

cex(, txt; delimiter)
CitableBase.cexMethod

It is an error to invoke the cex function on material that is not citable.

cex(, x; delimiter)
CitableBase.cexMethod

Delegate cex to specific functions based on type's citable trait value.

CitableBase.componentsMethod
components(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.fromcexMethod

Delegate fromcex to specific functions based on type's citable trait value.

fromcex(s, T; delimiter)
CitableBase.labelMethod

Citable text content should implement label.

label(_, txt)
CitableBase.labelMethod

It is an error to invoke the label function on material that is not citable.

label(_, x)
CitableBase.labelMethod

Delegate label to specific functions based on type's citable trait value.

CitableBase.partsMethod
parts(componentString)

Splits a string on periods (seprator for parts within components of URNs).

Examples

julia> parts("tlg0012.tlg001.msA")
CitableBase.urnMethod

Citable content should implement cex.

urn(_, obj)
CitableBase.urnMethod

Citable text content should implement urn.

urn(_, txt)
CitableBase.urnMethod

It is an error to invoke the urn function on material that is not citable.

urn(_, x)
CitableBase.urnMethod

Delegate urn to specific functions based on type's citable trait value.

urn(x)