Packages

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

A URN for a citable object in a collection.

urnString

String representation of Cite2Urn validating against the Cite2Urn specification

Annotations
@JSExportAll()
Linear Supertypes
Serializable, Serializable, Product, Equals, Urn, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cite2Urn
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Urn
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Cite2Urn(urnString: String)

    create a new Cite2Urn.

    create a new Cite2Urn. The long constructor validates a submitted string against the complex syntactic requirements of the CITE2 URN specification, and defines a number of functions for manipulating CITE2 URN values.

    urnString

    String representation of Cite2Urn validating against the Cite2Urn specification

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addProperty(propertyId: String): Cite2Urn

    Adds a property identifier to the object hierarchy.

    Adds a property identifier to the object hierarchy.

    propertyId

    Identifier for the property.

  5. def addSelector(selectorId: String): Cite2Urn

    Adds an object selector to the URN.

    Adds an object selector to the URN.

    selectorId

    Identifier for the selected object.

  6. def addVersion(versionId: String): Cite2Urn

    Adds a version identifier to the object hierarchy.

    Adds a version identifier to the object hierarchy.

    versionId

    Identifier for the property.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. val collection: String
  10. val collectionComponent: String

    Required work component of the URN.

  11. def collectionContainedIn(urn: Cite2Urn): Boolean
  12. val collectionParts: Vector[String]
  13. def collectionsMatch(u: Cite2Urn): Boolean
  14. val components: Array[String]

    Array of top-level, colon-delimited components.

  15. def debugString: Vector[String]
  16. def dropExtensions: Cite2Urn

    Trims any extended citation components off of passage or range selectors.

  17. def dropProperty: Cite2Urn

    Trims the property identifier off of a URN, if it is present.

    Trims the property identifier off of a URN, if it is present. This effectively converts a property citation to an object citation.

  18. def dropSelector: Cite2Urn

    Trims the selector component off of a URN, if it is present.

    Trims the selector component off of a URN, if it is present. This effectively converts a citation of a single value to a citation of a collection of values (objects or properties).

  19. def dropVersion: Cite2Urn
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. val isObject: Boolean

    True if URN includes a selector for a single object.

  25. val isRange: Boolean

    True if URN identifies a range within an ordered collection.

  26. val labels: Vector[String]
  27. val namespace: String

    Required namespace component of the URN.

  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. val noObject: Boolean

    True if URN does not include an object selector component.

  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def objectComponent: String

    String value of optional object selector component.

  33. def objectComponentOption: Option[String]

    Optional object selector component.

  34. def objectExtension: String
  35. def objectExtensionOption: Option[String]
  36. val objectOption: Option[String]

    Single object identifier as an Option.

  37. val objectParts: Vector[String]

    For non-empty object component, hyphen-separated parts allowed in ordered collections.

  38. def objectsMatch(u: Cite2Urn): Boolean
  39. def property: String

    String value of optional property part of collection component.

  40. def propertyOption: Option[String]

    Optional property part of collection component.

  41. def rangeBegin: String

    String value of first part of range identifier.

  42. def rangeBeginExtension: String
  43. def rangeBeginExtensionOption: Option[String]
  44. val rangeBeginOption: Option[String]

    First part of range identifier as an Option.

  45. def rangeBeginParts: Vector[String]
  46. def rangeBeginUrn: Cite2Urn
  47. def rangeEnd: String

    String value of second part of range identifier.

  48. def rangeEndExtension: String
  49. def rangeEndExtensionOption: Option[String]
  50. val rangeEndOption: Option[String]

    Second part of range identifier as an Option.

  51. def rangeEndParts: Vector[String]
  52. def rangeEndUrn: Cite2Urn
  53. def singleObjectParts: Vector[String]
  54. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  55. def toString(): String
    Definition Classes
    Cite2Urn → AnyRef → Any
  56. val urnString: String
  57. def version: String

    String value of optional version part of collection component.

  58. def versionOption: Option[String]

    Optional version part of collection component.

  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  62. def ~~(u: Cite2Urn): Boolean
  63. def ~~(u: Urn): Boolean
    Definition Classes
    Cite2UrnUrn

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Urn

Inherited from AnyRef

Inherited from Any

Ungrouped