Packages

package cite

Library for working with canonical identifers used in citing scholarly resources.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. cite
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Citable extends AnyRef

    Trait for any citable scholarly resource.

    Trait for any citable scholarly resource.

    Implementing classes must have a Urn value identifying the object, and a CitableExport function delivering a two-column string labelling URNs with a type.

  2. case class Cite2Urn(urnString: String) extends Urn with Product with Serializable

    A URN for a citable object in a collection.

    A URN for a citable object in a collection.

    urnString

    String representation of Cite2Urn validating against the Cite2Urn specification

    Annotations
    @JSExportAll()
  3. case class CiteException(message: String = "", cause: Option[Throwable] = None) extends Exception with Product with Serializable
  4. class CiteExport extends AnyRef
  5. case class CtsUrn(urnString: String) extends Urn with Product with Serializable

    A URN for a canonically citable text or passage of text.

    A URN for a canonically citable text or passage of text.

    urnString

    String representation of CtsUrn validating againt the CtsUrn specification

    Annotations
    @JSExportAll()
  6. abstract class Urn extends AnyRef

    The superclass of Urn objects, implemented by CtsUrn and CiteUrn.

Value Members

  1. def subrefIndexOption(subref: String): Option[Int]

    Extracts the explicitly given index of a subref from a passage node value, or the default value of 1.

    Extracts the explicitly given index of a subref from a passage node value, or the default value of 1.

    The index value must be an integer.

  2. val subrefIndexRE: Regex

    Regular expression matching the index part of a subreference on a CTS URN passage node.

  3. def subrefOption(s: String): Option[String]

    Extracts the subref from a passage node value.

    Extracts the subref from a passage node value.

    s

    A passage node value, a reference to a single node or to the beginning or ending node of a range reference.

  4. def subrefTextOption(s: String): Option[String]

    Extracts the cited text of a subref from a passage node value.

    Extracts the cited text of a subref from a passage node value.

    s

    A passage node value, a reference to a single node or to the beginning or ending node of a range reference.

  5. val subrefTextRE: Regex

    Regular expression matching text part of a subreference on a CTS URN passage node.

  6. object Main
  7. object WorkLevel extends Enumeration

    Enumeration of levels of the CTS work hierarchy.

Inherited from AnyRef

Inherited from Any

Ungrouped