Class SparqlUpdateParserContext
Parser Context for SPARQL Update Parser.
Inherited Members
Namespace: VDS.RDF.Parsing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class SparqlUpdateParserContext : TokenisingParserContext, IParserContext, ITokenisingParserContext
Constructors
| Improve this Doc View SourceSparqlUpdateParserContext(ITokeniser, bool, bool)
Creates a new SPARQL Update Parser Context with custom settings.
Declaration
public SparqlUpdateParserContext(ITokeniser tokeniser, bool traceParsing, bool traceTokeniser)
Parameters
Type | Name | Description |
---|---|---|
ITokeniser | tokeniser | Tokeniser to use. |
System.Boolean | traceParsing | Whether to trace parsing. |
System.Boolean | traceTokeniser | Whether to trace tokenisation. |
SparqlUpdateParserContext(ITokeniser, IUriFactory)
Creates a new SPARQL Update parser context.
Declaration
public SparqlUpdateParserContext(ITokeniser tokeniser, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
ITokeniser | tokeniser | Tokeniser to use. |
IUriFactory | uriFactory | URI Factory to use during the parse. |
SparqlUpdateParserContext(ITokeniser, TokenQueueMode, bool, bool)
Creates a new SPARQL Update Parser Context with custom settings.
Declaration
public SparqlUpdateParserContext(ITokeniser tokeniser, TokenQueueMode queueMode, bool traceParsing, bool traceTokeniser)
Parameters
Type | Name | Description |
---|---|---|
ITokeniser | tokeniser | Tokeniser to use. |
TokenQueueMode | queueMode | Tokeniser Queue Mode. |
System.Boolean | traceParsing | Whether to trace parsing. |
System.Boolean | traceTokeniser | Whether to trace tokenisation. |
SparqlUpdateParserContext(ITokeniser, TokenQueueMode)
Creates a new SPARQL Update Parser Context with custom settings.
Declaration
public SparqlUpdateParserContext(ITokeniser tokeniser, TokenQueueMode queueMode)
Parameters
Type | Name | Description |
---|---|---|
ITokeniser | tokeniser | Tokeniser to use. |
TokenQueueMode | queueMode | Tokeniser Queue Mode. |
SparqlUpdateParserContext(ITokeniser)
Creates a new SPARQL Update Parser Context.
Declaration
public SparqlUpdateParserContext(ITokeniser tokeniser)
Parameters
Type | Name | Description |
---|---|---|
ITokeniser | tokeniser | Tokeniser. |
Properties
| Improve this Doc View SourceAllowUnknownFunctions
Gets/Sets whether functions that can't be parsed into Expressions should be represented by the UnknownFunction.
Declaration
public bool AllowUnknownFunctions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CommandSet
Gets the Update Command Set that is being populated.
Declaration
public SparqlUpdateCommandSet CommandSet { get; }
Property Value
Type | Description |
---|---|
SparqlUpdateCommandSet |
DataBNodes
Gets the set of BNodes used in INSERT DATA commands so far.
Declaration
public HashSet<string> DataBNodes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.HashSet<T><string> |
ExpressionFactories
Gets/Sets the locally scoped custom expression factories.
Declaration
public IEnumerable<ISparqlCustomExpressionFactory> ExpressionFactories { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><ISparqlCustomExpressionFactory> |
NamespaceMap
Gets the Namespace Map.
Declaration
public NamespaceMapper NamespaceMap { get; }
Property Value
Type | Description |
---|---|
NamespaceMapper |