Base.showMethod

Override Base.show for Cite2Urn.

show(io, urn)
CitableBase.addversionMethod

Create a new Cite2Urn by setting the version part of a given Cite2Urn to a given value.

addversion(u, versid)
CitableBase.dropversionMethod

Create a new Cite2Urn by dropping the version part of a given Cite2Urn.

dropversion(u)
CitableBase.urncontainsMethod
urncontains(u1, u2)

True if urn1 contains or is equal to urn2 accroding to URN logic.

```

CitableBase.urnsimilarMethod
urnsimilar(urn1, urn2)

Override similar function to be true if urn1 and urn1 are similar by URN logic.

CitableBase.versionidMethod
versionid(u)

Extract CITE2 collection identifer from a Cite2Urn.

Examples

julia>
urn = Cite2Urn("urn:cite2:hmt:msA.v1:12r")
collectionid(urn)
CitableObject.addobjectMethod

Create a new Cite2Urn by setting the object identifier of a given Cite2Urn to a given value.

addobject(u, objid)
CitableObject.addpropertyMethod

Create a new Cite2Urn by setting the version part of a given Cite2Urn to a given value.

addproperty(u, propid)
CitableObject.collectioncomponentMethod
collectioncomponent(u)

Extract CITE2 work component from a CtsUrn.

Examples

julia>
collectioncomponent(Cite2Urn("urn:cite2:hmt:msA.v1:12r"))
CitableObject.collectioncontainsMethod
collectioncontains(u1, u2)

True if collection component of urn1 contains or is equal to collection component of urn2.

```

CitableObject.collectionidMethod
collectionid(u)

Extract CITE2 collection identifer from a Cite2Urn.

Examples

julia>
urn = Cite2Urn("urn:cite2:hmt:msA.v1:12r")
collectionid(urn)
CitableObject.dropobjectMethod

Create a new Cite2Urn by dropping the object identifier of a given Cite2Urn to a given value.

dropobject(u)
CitableObject.namespaceMethod
namespace(u)

Extract CITE2 namespace from a CtsUrn.

Examples

julia>
namespace(Cite2Urn("urn:cite2:hmt:msA.v1:12r"))
CitableObject.objectcomponentMethod
objectcomponent(u)

Extract CITE2 object component from a CtsUrn.

Examples

julia>
objectcomponent(Cite2Urn("urn:cite2:hmt:msA.v1:12r"))
CitableObject.CexUtils.cataloglabelMethod

Find catalog label, if any, for u in CEX source s. If no catalog found, compose machine-generated label.

cataloglabel(s, u; delimiter)
CitableObject.CexUtils.cataloglabelMethod

Find catalog label, if any, for u in CEX source s. If no catalog found, compose machine-generated label.

cataloglabel(blks, u; delimiter)
CitableObject.CexUtils.citeidMethod

Find a urn/label pair for a collection or relation set identified by u.

citeid(s, u)

Results are a NamedTuple with keys :urn and :label.

CitableObject.CexUtils.citeidMethod

Find a urn/label pair for a collection or relation set identified by u.

citeid(blks, u)

Results are a NamedTuple with keys :urn and :label.

CitableObject.CexUtils.citeidsMethod

Find urn/label pairs for all collections or relation sets in file filesrc implementing model.

citeids(filesrc, model, freader)
CitableObject.CexUtils.citeidsMethod

Find urn/label pairs for all collections or relation sets in s implementing model.

citeids(s, model, freader)
CitableObject.CexUtils.citeidsMethod

Find urn/label pairs for all collections or relation sets at URL url implementing model.

citeids(url, model, freader)
CitableObject.CexUtils.citeidsMethod

Find urn/label pairs for all collections or relation sets in s implementing model.

citeids(s, model)

Results are a NamedTuple with keys :urn and :label.

CitableObject.CexUtils.citeidsMethod

Find urn/label pairs for all collections or relation sets in blks implementing model.

citeids(blks, model)

Results are a NamedTuple with keys :urn and :label.

CitableObject.CexUtils.matchingpropertiesMethod

From a list of string values, extract those where the first delimited column matches u by URN containment.

matchingproperties(lines, u)

Since property definitions must be specific to a version, we can use string comparison rather than the more expensive urncontains to filter these values.

CitableObject.CexUtils.relationsetlabelMethod

Find label for single relation set uniquely identifed by u in CEX source s. If no catalog found, compose machine-generated label.

relationsetlabel(s, u; delimiter)