Class BaseResultsParserContext
Base class for SPARQL Results Parser Contexts.
Inheritance
System.Object
BaseResultsParserContext
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 BaseResultsParserContext : IResultsParserContext
Constructors
| Improve this Doc View SourceBaseResultsParserContext(ISparqlResultsHandler)
Creates a new Results Parser Context.
Declaration
public BaseResultsParserContext(ISparqlResultsHandler handler)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler. |
BaseResultsParserContext(ISparqlResultsHandler, Boolean)
Creates a new Parser Context.
Declaration
public BaseResultsParserContext(ISparqlResultsHandler handler, bool traceParsing)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler. |
System.Boolean | traceParsing | Whether to trace parsing. |
BaseResultsParserContext(SparqlResultSet)
Creates a new Results Parser Context.
Declaration
public BaseResultsParserContext(SparqlResultSet results)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set. |
BaseResultsParserContext(SparqlResultSet, Boolean)
Creates a new Results Parser Context.
Declaration
public BaseResultsParserContext(SparqlResultSet results, bool traceParsing)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set. |
System.Boolean | traceParsing | Whether to trace parsing. |
Fields
| Improve this Doc View Source_traceParsing
Controls parser tracing behaviour.
Declaration
protected bool _traceParsing
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
| Improve this Doc View SourceHandler
Gets the Results Handler to be used.
Declaration
public ISparqlResultsHandler Handler { get; }
Property Value
Type | Description |
---|---|
ISparqlResultsHandler |
TraceParsing
Gets/Sets whether Parser Tracing is used.
Declaration
public bool TraceParsing { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Variables
Gets the Variables that have been seen.
Declaration
public List<string> Variables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |