Class TriGParserContext
Parser Context class for TriG Parsers.
Implements
Inherited Members
Namespace: VDS.RDF.Parsing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class TriGParserContext : TokenisingStoreParserContext, IParserContext
Constructors
| Improve this Doc View SourceTriGParserContext(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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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 SourceDefaultGraphExists
Gets/Sets whether the Default Graph exists.
Declaration
public bool DefaultGraphExists { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
QNameUnescapeFunction
Function for unescaping QNames.
Declaration
public Func<string, string> QNameUnescapeFunction { get; }
Property Value
Type | Description |
---|---|
System.Func<T, TResult><string, string> |
Syntax
Gets/Sets the Syntax to be used.
Declaration
public TriGSyntax Syntax { get; set; }
Property Value
Type | Description |
---|---|
TriGSyntax |