solid-ui
    Preparing search index...

    Class NamedNode

    A named (IRI) RDF node

    Hierarchy (View Summary)

    Implements

    • NamedNode
    Index

    Constructors

    • Create a named (IRI) RDF Node

      Parameters

      • iri: string

        The IRI for this node

      Returns NamedNode

    Properties

    classOrder: number

    The class order for this node

    termType: "NamedNode"

    The type of node

    value: string

    The node's value

    toJS: (
        term: any,
    ) =>
        | string
        | boolean
        | object
        | Number
        | Date
        | (string | boolean | object | Number | Date)[]

    Accessors

    • get uri(): string

      Alias for value, favored by Tim

      Returns string

    • set uri(uri: string): void

      Parameters

      • uri: string

      Returns void

    Methods

    • Compares this node with another

      Parameters

      • other: Node

        The other node

      Returns number

      to check if two nodes are equal

    • Returns an $rdf node for the containing directory, ending in slash.

      Returns null | NamedNode

    • Creates the fetchable named node for the document. Removes everything from the # anchor tag.

      Returns NamedNode

    • Compares whether the two nodes are equal

      Parameters

      • other: Term

        The other node

      Returns boolean

    • Creates a hash for this node

      Returns string

      use {rdfFactory.id} instead if possible

    • The local identifier with the document

      Returns string

    • Compares whether this node is the same as the other one

      Parameters

      • other: Node

        Another node

      Returns boolean

    • Returns an NN for the whole web site, ending in slash. Contrast with the "origin" which does NOT have a trailing slash

      Returns NamedNode

    • Creates the substituted node for this one, according to the specified bindings

      Type Parameters

      Parameters

      • bindings: Bindings

        Bindings of identifiers to nodes

      Returns T

    • Creates a canonical string representation of this node

      Returns string

    • Creates a n-quads string representation of this node

      Returns string

    • Creates a n-triples string representation of this node

      Returns string

    • Returns the URI including

      Returns string

    • Creates a named node from the specified input value

      Parameters

      • value: any

        An input value

      Returns any