Issue Identifier.

See the specification for the details, except that all functionalities are encapsulated in a class.

Hierarchy

  • IDIssuer

Constructors

Accessors

  • get issued_identifier_map(): Map<string, string>
  • Accessor to the issued identifier map, to be returned as part of the return structure for the main algorithm.

    Returns Map<string, string>

Methods

  • Issue a new canonical identifier.

    See the specification.

    Parameters

    • existing: string

      the original bnode id

    Returns string

    the canonical equivalent (which may have been newly minted in the process)

  • Mapping from a blank node to its canonical equivalent; this method is necessary to use this instance as part of the return structure for the canonicalizer function.

    Parameters

    • id: string

    Returns string

  • Has a bnode label been assigned a canonical alternative?

    Parameters

    • existing: string

      the bnode id to be checked

    Returns boolean

  • Iterate over the values in issuance order.

    Returns IterableIterator<[string, string]>