A CITE library for the JVM, version 0.96.0 > CITE URNs >

CITE URNs

The technology-independent representation of a CITE URN as a string of characters is defined by the CITE URN specification.

Constructing CITE URN objects

You can construct an object representation of a CITE URN from a string conforming to the CITE URN specification. It is an Exception if you try to construct a CITE URN from a String that does not conform to the specification.

Examples

Unicode normalization

CITE URN objects can be constructed from strings in any Unicode form, but all output representations of the CITE URN or parts of the CITE URN as strings are normalized to Unicode form NFC.

Examples

Input string Unicode form of input Length of input in bytes Output string identical to input string
urn:cite:examples:tokens.1@μῆνιν NFC (composed) 38 Yes
urn:cite:examples:tokens.1@μῆνιν NFD (decomposed) 39 No