Show / Hide Table of Contents

Class TriGParserContext

Parser Context class for TriG Parsers.

Inheritance
object
BaseStoreParserContext
TokenisingStoreParserContext
TriGParserContext
Implements
IParserContext
Inherited Members
TokenisingStoreParserContext._queue
TokenisingStoreParserContext._traceTokeniser
TokenisingStoreParserContext._localTokens
TokenisingStoreParserContext.Tokens
TokenisingStoreParserContext.LocalTokens
TokenisingStoreParserContext.TraceTokeniser
BaseStoreParserContext._traceParsing
BaseStoreParserContext.TraceParsing
BaseStoreParserContext.Handler
BaseStoreParserContext.UriFactory
BaseStoreParserContext.Namespaces
BaseStoreParserContext.BaseUri
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class TriGParserContext : TokenisingStoreParserContext, IParserContext

Constructors

| Edit this page View Source

TriGParserContext(IRdfHandler, ITokeniser)

Creates a new TriG Parser Context with default settings.

Declaration
public TriGParserContext(IRdfHandler handler, ITokeniser tokeniser)
Parameters
Type Name Description
IRdfHandler handler

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

| Edit this page View Source

TriGParserContext(IRdfHandler, ITokeniser, bool, bool)

Creates a new TriG Parser Context with custom settings.

Declaration
public TriGParserContext(IRdfHandler handler, ITokeniser tokeniser, bool traceParsing, bool traceTokeniser)
Parameters
Type Name Description
IRdfHandler handler

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

bool traceParsing

Whether to trace parsing.

bool traceTokeniser

Whether to trace tokenisation.

| Edit this page View Source

TriGParserContext(IRdfHandler, ITokeniser, TokenQueueMode)

Creates a new TrigG Parser Context with custom settings.

Declaration
public TriGParserContext(IRdfHandler handler, ITokeniser tokeniser, TokenQueueMode queueMode)
Parameters
Type Name Description
IRdfHandler handler

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

TokenQueueMode queueMode

Tokeniser Queue Mode.

| Edit this page View Source

TriGParserContext(IRdfHandler, ITokeniser, TokenQueueMode, bool, bool)

Creates a new TriG Parser Context with custom settings.

Declaration
public TriGParserContext(IRdfHandler handler, ITokeniser tokeniser, TokenQueueMode queueMode, bool traceParsing, bool traceTokeniser)
Parameters
Type Name Description
IRdfHandler handler

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

TokenQueueMode queueMode

Tokeniser Queue Mode.

bool traceParsing

Whether to trace parsing.

bool traceTokeniser

Whether to trace tokenisation.

| Edit this page View Source

TriGParserContext(IRdfHandler, ITokeniser, TokenQueueMode, bool, bool, IUriFactory)

Creates a new TriG Parser Context with custom settings.

Declaration
public TriGParserContext(IRdfHandler handler, ITokeniser tokeniser, TokenQueueMode queueMode, bool traceParsing, bool traceTokeniser, IUriFactory uriFactory)
Parameters
Type Name Description
IRdfHandler handler

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

TokenQueueMode queueMode

Tokeniser Queue Mode.

bool traceParsing

Whether to trace parsing.

bool traceTokeniser

Whether to trace tokenisation.

IUriFactory uriFactory

URI factory to use.

| Edit this page View Source

TriGParserContext(ITripleStore, ITokeniser)

Creates a new TriG Parser Context with default settings.

Declaration
public TriGParserContext(ITripleStore store, ITokeniser tokeniser)
Parameters
Type Name Description
ITripleStore store

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

| Edit this page View Source

TriGParserContext(ITripleStore, ITokeniser, bool, bool)

Creates a new TriG Parser Context with custom settings.

Declaration
public TriGParserContext(ITripleStore store, ITokeniser tokeniser, bool traceParsing, bool traceTokeniser)
Parameters
Type Name Description
ITripleStore store

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

bool traceParsing

Whether to trace parsing.

bool traceTokeniser

Whether to trace tokenisation.

| Edit this page View Source

TriGParserContext(ITripleStore, ITokeniser, TokenQueueMode)

Creates a new TrigG Parser Context with custom settings.

Declaration
public TriGParserContext(ITripleStore store, ITokeniser tokeniser, TokenQueueMode queueMode)
Parameters
Type Name Description
ITripleStore store

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

TokenQueueMode queueMode

Tokeniser Queue Mode.

| Edit this page View Source

TriGParserContext(ITripleStore, ITokeniser, TokenQueueMode, bool, bool)

Creates a new TriG Parser Context with custom settings.

Declaration
public TriGParserContext(ITripleStore store, ITokeniser tokeniser, TokenQueueMode queueMode, bool traceParsing, bool traceTokeniser)
Parameters
Type Name Description
ITripleStore store

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

TokenQueueMode queueMode

Tokeniser Queue Mode.

bool traceParsing

Whether to trace parsing.

bool traceTokeniser

Whether to trace tokenisation.

Properties

| Edit this page View Source

DefaultGraphExists

Gets/Sets whether the Default Graph exists.

Declaration
public bool DefaultGraphExists { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

QNameUnescapeFunction

Function for unescaping QNames.

Declaration
public Func<string, string> QNameUnescapeFunction { get; }
Property Value
Type Description
Func<string, string>
| Edit this page View Source

Syntax

Gets/Sets the Syntax to be used.

Declaration
public TriGSyntax Syntax { get; set; }
Property Value
Type Description
TriGSyntax

Implements

IParserContext

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • TriGParserContext(IRdfHandler, ITokeniser)
    • TriGParserContext(IRdfHandler, ITokeniser, bool, bool)
    • TriGParserContext(IRdfHandler, ITokeniser, TokenQueueMode)
    • TriGParserContext(IRdfHandler, ITokeniser, TokenQueueMode, bool, bool)
    • TriGParserContext(IRdfHandler, ITokeniser, TokenQueueMode, bool, bool, IUriFactory)
    • TriGParserContext(ITripleStore, ITokeniser)
    • TriGParserContext(ITripleStore, ITokeniser, bool, bool)
    • TriGParserContext(ITripleStore, ITokeniser, TokenQueueMode)
    • TriGParserContext(ITripleStore, ITokeniser, TokenQueueMode, bool, bool)
  • Properties
    • DefaultGraphExists
    • QNameUnescapeFunction
    • Syntax
  • Implements
  • Extension Methods
Back to top Generated by DocFX