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
| Edit this page View SourceSparqlUpdateParserContext(ITokeniser)
Creates a new SPARQL Update Parser Context.
Declaration
public SparqlUpdateParserContext(ITokeniser tokeniser)
Parameters
Type | Name | Description |
---|---|---|
ITokeniser | tokeniser | Tokeniser. |
SparqlUpdateParserContext(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. |
bool | traceParsing | Whether to trace parsing. |
bool | 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)
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, 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. |
bool | traceParsing | Whether to trace parsing. |
bool | traceTokeniser | Whether to trace tokenisation. |
Properties
| Edit this page 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 |
---|---|
bool |
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 |
---|---|
HashSet<string> |
ExpressionFactories
Gets/Sets the locally scoped custom expression factories.
Declaration
public IEnumerable<ISparqlCustomExpressionFactory> ExpressionFactories { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<ISparqlCustomExpressionFactory> |
NamespaceMap
Gets the Namespace Map.
Declaration
public NamespaceMapper NamespaceMap { get; }
Property Value
Type | Description |
---|---|
NamespaceMapper |