Show / Hide Table of Contents

Class TriGParserContext

Parser Context class for TriG Parsers.

Inheritance
System.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

| Improve this Doc 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.

System.Boolean traceParsing

Whether to trace parsing.

System.Boolean traceTokeniser

Whether to trace tokenisation.

| Improve this Doc 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.

System.Boolean traceParsing

Whether to trace parsing.

System.Boolean traceTokeniser

Whether to trace tokenisation.

IUriFactory uriFactory

URI factory to use.

| Improve this Doc 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.

System.Boolean traceParsing

Whether to trace parsing.

System.Boolean traceTokeniser

Whether to trace tokenisation.

| Improve this Doc 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.

| Improve this Doc 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.

| Improve this Doc 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.

System.Boolean traceParsing

Whether to trace parsing.

System.Boolean traceTokeniser

Whether to trace tokenisation.

| Improve this Doc 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.

System.Boolean traceParsing

Whether to trace parsing.

System.Boolean traceTokeniser

Whether to trace tokenisation.

| Improve this Doc 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.

| Improve this Doc 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.

Properties

| Improve this Doc View Source

DefaultGraphExists

Gets/Sets whether the Default Graph exists.

Declaration
public bool DefaultGraphExists { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

QNameUnescapeFunction

Function for unescaping QNames.

Declaration
public Func<string, string> QNameUnescapeFunction { get; }
Property Value
Type Description
System.Func<T, TResult><string, string>
| Improve this Doc 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)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • TriGParserContext(IRdfHandler, ITokeniser, bool, bool)
    • TriGParserContext(IRdfHandler, ITokeniser, TokenQueueMode, bool, bool, IUriFactory)
    • TriGParserContext(IRdfHandler, ITokeniser, TokenQueueMode, bool, bool)
    • TriGParserContext(IRdfHandler, ITokeniser, TokenQueueMode)
    • TriGParserContext(IRdfHandler, ITokeniser)
    • TriGParserContext(ITripleStore, ITokeniser, bool, bool)
    • TriGParserContext(ITripleStore, ITokeniser, TokenQueueMode, bool, bool)
    • TriGParserContext(ITripleStore, ITokeniser, TokenQueueMode)
    • TriGParserContext(ITripleStore, ITokeniser)
  • Properties
    • DefaultGraphExists
    • QNameUnescapeFunction
    • Syntax
  • Implements
  • Extension Methods
Back to top Generated by DocFX