Class TriGParserContext
Parser Context class for TriG Parsers.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Parsing.Contexts
Assembly: dotNetRDF.dll
Syntax
public class TriGParserContext : TokenisingStoreParserContext, IStoreParserContext
Constructors
| Improve this Doc View SourceTriGParserContext(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(IRdfHandler, ITokeniser, Boolean, Boolean)
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)
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, TokenQueueMode, Boolean, Boolean)
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(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. |
TriGParserContext(ITripleStore, ITokeniser, Boolean, Boolean)
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)
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, TokenQueueMode, Boolean, Boolean)
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. |
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 |
Syntax
Gets/Sets the Syntax to be used.
Declaration
public TriGSyntax Syntax { get; set; }
Property Value
Type | Description |
---|---|
TriGSyntax |