Class N3PatchModesExtractor

Extracts the required access modes from an N3 Patch.

Solid, ยง5.3.1: "When ?conditions is non-empty, servers MUST treat the request as a Read operation. When ?insertions is non-empty, servers MUST (also) treat the request as an Append operation. When ?deletions is non-empty, servers MUST treat the request as a Read and Write operation." https://solid.github.io/specification/protocol#n3-patch

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

resourceSet: ResourceSet

Methods

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

    Parameters

    • __namedParameters: Operation

      Input that could potentially be handled.

    Returns Promise<void>

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