Class LinkMetadataGenerator

Adds a link to the auxiliary resource when called on the subject resource. Specifically: will be added.

In case the input is metadata of an auxiliary resource no metadata will be added

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

identifierStrategy: AuxiliaryIdentifierStrategy
link: NamedNode<string>

Methods

  • Checks if the input can be handled by this class. If it cannot handle the input, rejects with an error explaining why.

    Parameters

    Returns Promise<void>

    A promise resolving if the input can be handled, rejecting with an Error if not.