Click or drag to resize

JsonLdProcessorOptions Class

A collection of options for setting up the JSON-LD processor.
Inheritance Hierarchy
SystemObject
  VDS.RDF.JsonLdJsonLdProcessorOptions

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

The JsonLdProcessorOptions type exposes the following members.

Constructors
  NameDescription
Public methodJsonLdProcessorOptions
Initializes a new instance of the JsonLdProcessorOptions class
Top
Properties
  NameDescription
Public propertyBase
The base IRI to use when expanding or compacting the document.
Public propertyDocumentLoader
The callback of the loader to be used to retrieve remote documents and contexts.
Public propertyLoader Obsolete.
The callback of the loader to be used to retrieve remote documents and contexts.
Public propertyOmitGraph
GEt or set the value of the omit graph flag used in the Framing Algorithm.
Top
Methods
  NameDescription
Public methodClone
Create a copy of this instance, cloning all of its values.
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldCompactArrays
Flag indicating if arrays of one element should be replaced by the single value during compaction.
Public fieldCompactToRelative
Determines if IRIs are compacted relative to the base option or document location when compacting.
Public fieldEmbed
Sets the value object embed flag used in the Framing Algorithm.
Public fieldExpandContext
A context that is used to initialize the active context when expanding a document.
Public fieldExplicit
Sets the value explicit inclusion flag used in the Framing Algorithm.
Public fieldExtractAllScripts
Specifies whether HTML document processing should target all of the JSON-LD script elements in the document or not.
Public fieldFrameDefault
Instead of framing a merged graph, frame only the default graph.
Public fieldFrameExpansion
Specifies whether special frame expansion rules should be applied during expansion and/or RDF serialization.
Public fieldOmitDefault
Sets the value omit default flag used in the Framing Algorithm.
Public fieldOrdered
Specifies whether the processor should operate on properties in lexicographical order or not.
Public fieldProcessingMode
Get or set the processing model that the processor will use.
Public fieldProduceGeneralizedRdf
If set to true, the JSON-LD processor may emit blank nodes for triple predicates, otherwise they will be omitted.
Public fieldPruneBlankNodeIdentifiers Obsolete.
Removes @id from node objects where the value is a blank node identifier used only once within the document.
Public fieldRdfDirection
Get or set the method by which literal values containing a base direction are transformed to and from RDF.
Public fieldRemoteContextLimit
The maximum number of remote context references to load during processing.
Public fieldRequireAll
Sets the value require all flag used in the Framing Algorithm.
Public fieldUseNativeTypes
Get or set the flag that determines whether or not JSON native values should be used in literals.
Public fieldUseRdfType
Get or set the flag that controls the serialization of rdf:type properties when serializing RDF as JSON-LD.
Top
See Also