Click or drag to resize

JsonLdContext Class

Represents a JSON-LD context.
Inheritance Hierarchy
SystemObject
  VDS.RDF.JsonLdJsonLdContext

Namespace:  VDS.RDF.JsonLd
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class JsonLdContext

The JsonLdContext type exposes the following members.

Constructors
  NameDescription
Public methodJsonLdContext
Create a new empty context.
Public methodJsonLdContext(Uri)
Create a new empty context with the Base and OriginalBase properties both set to the specified base URI.
Top
Properties
  NameDescription
Public propertyBase
Get or set the base IRI specified by this context.
Public propertyBaseDirection
Get or set the direction used when a string does not have a direction associated with it directly.
Public propertyInverseContext
Get the inverse context for this context.
Public propertyLanguage
Get the default language code specified by this context.
Public propertyOriginalBase
Get the base IRI that this context was originally created with.
Public propertyPreviousContext
Get or set the previous context to be used when a non-propagated context is defined.
Public propertyTerms
An enumeration of the terms defined by this context.
Public propertyVersion
Get or set the version of the JSON-LD syntax specified by this context.
Public propertyVocab
Get the default vocabulary IRI.
Top
Methods
  NameDescription
Public methodAddTerm
Add a term definition to this context.
Public methodClone
Create a deep clone of this context.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAliases
Retrieve all mapped aliases for the given keyword.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetTerm
Get an existing term definition.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasProtectedTerms
Determine if this context contains any protected term definitions.
Public methodHasTerm
Check if this context contains a Term Definition for a specific term.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveBase
Remove the base IRI from this context.
Public methodRemoveTerm
Remote an existing term definition.
Public methodSelectTerm
Implementation of the Term Selection algorithm using this instance as the active context.
Public methodSetTerm
Add or update an existing term definition.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetTerm
Attempt to get an existing term definition.
Top
See Also