Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AggregateContext

Package version

Class for parsing and storing information from JSON-LD context blocks.

Hierarchy

  • AggregateContext

Index

Constructors

constructor

  • new AggregateContext(rejectUndefinedExtensions: boolean, rejectNonDtmiContexts: boolean, maxDtdlVersion?: undefined | number): AggregateContext

Properties

Static _affiliateContextsImplicitDtdlVersions

_affiliateContextsImplicitDtdlVersions: {}

Type declaration

  • [x: string]: number

Accessors

dtdlVersion

  • get dtdlVersion(): number

Methods

createDtmi

  • createDtmi(uriOrTerm: string): InDTMI | undefined

getChildContext

Static _getAffiliate0ContextHistory

Static _getAffiliate1ContextHistory

Static _getAffiliate2ContextHistory

Static _getAffiliate3ContextHistory

Static _getDtdlContextHistory

Static getTermOrUri

  • getTermOrUri(uriString: string): string

Static initialize

  • initialize(): void

Static isIdentifierInContext

  • isIdentifierInContext(uriString: string): boolean

Generated using TypeDoc