CitableBase.Citable
— TypeA citable unit of any kind is identified by a URN and has a human-readable label.
CitableBase.Urn
— TypeUnique identifiers expressible in the syntax of the IETF's URN specification.
Base.show
— MethodOverride Base implementation of show.
CitableBase.addversion
— MethodCatch-all function for addversion
method.
addversion(u, s)
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
— MethodCatch-all function for dropversion
method.
dropversion(u)
CitableBase.parts
— Methodparts(componentString)
Splits a string on periods (seprator for parts within components of URNs).
Examples
julia> parts("tlg0012.tlg001.msA")
CitableBase.validurn
— Methodvalidurn(s)
True if s is valid for this type of URN.
This checks only the minimal generic syntax for a URN, and should be overriden to check more specific requirements of types extending URN.
Examples
julia> validurn("urn:isbn:1788998367")