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.addversionMethod

Urn subtypes should implement addversion(urn::U, versionid)::U.

addversion(u, versioninfo)
CitableBase.cexMethod

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

cex(, x; delimiter)
CitableBase.cexMethod

Delegate cex to specific functions based on type's cextrait 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

Implement fromcex using first string parameter for a file name.

fromcex(fname, T, freader; delimiter, configuration, strict)
CitableBase.fromcexMethod

Implement fromcex using first string parameter for raw string data.

fromcex(cexsrc, T, freader; delimiter, configuration, strict)
CitableBase.fromcexMethod

Implement fromcex using first string parameter for a URL.

fromcex(url, T, ureader; delimiter, configuration, strict)
CitableBase.fromcexMethod

Dispatch fromcex on cextrait of T to instantiate an object of type T from CEX-formatted data cexsrc.

fromcex(cexsrc, T; delimiter, configuration, strict)
CitableBase.fromcexMethod

It is an error to invoke the fromcex function on material that is not CEX serializable.

fromcex(, cex, T; delimiter, configuration, strict)
CitableBase.fromcexMethod

It is an error invoke fromcex function with an unimplemented trait value.

fromcex(traitvalue, cexsrc, T; delimiter, configuration, strict)
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.slidingwindowMethod

Create a vector of objects by sliding a window over a citable collection.

slidingwindow(trait, coll)
slidingwindow(trait, coll, windowsize; pad)
CitableBase.slidingwindowMethod

Delegate function, catching types that do not implement CitableCollectionTrait.

slidingwindow(coll)
slidingwindow(coll, windowsize; pad)
CitableBase.subrefMethod

Urn subtypes should implement dropversion(urn::U)::U.

subref(u)
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.

CitableBase.urntypeMethod

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

urntype(_, x)
CitableBase.urntypeMethod

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