Type Parameters

  • T extends ISerializable

Hierarchy (view full)

Constructors

  • Type Parameters

    • T extends ISerializable

    Parameters

    • typedValue: T

      internal representation of this literal's value

    • dataType: string

      a string representing the datatype. Can be of type

    • OptionalstrValue: string

      the string value of this literal. In other words, the string representing the RDF.literal value.

    • Optionallanguage: string

      the language, mainly for language enabled strings like RDF_LANG_STRING

    Returns Literal<T>

    LiteralTypes or any URI

Properties

dataType: string

a string representing the datatype. Can be of type

expressionType: Term = ExpressionType.Term
language?: string

the language, mainly for language enabled strings like RDF_LANG_STRING

strValue?: string

the string value of this literal. In other words, the string representing the RDF.literal value.

termType: "literal" = ...
typedValue: T

internal representation of this literal's value

Methods