Class BaseResultsParserContext
Base class for SPARQL Results Parser Contexts.
Inheritance
BaseResultsParserContext
Implements
Inherited Members
Namespace: VDS.RDF.Parsing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class BaseResultsParserContext : IResultsParserContext
Constructors
| Edit this page View SourceBaseResultsParserContext(ISparqlResultsHandler, bool, IUriFactory)
Creates a new Results Parser Context.
Declaration
public BaseResultsParserContext(ISparqlResultsHandler handler, bool traceParsing, IUriFactory uriFactory = null)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Handler to use. |
bool | traceParsing | Whether to trace parsing. |
IUriFactory | uriFactory | URI Factory to use. If not specified Root will be used. |
BaseResultsParserContext(ISparqlResultsHandler, IUriFactory)
Creates a new Results Parser Context.
Declaration
public BaseResultsParserContext(ISparqlResultsHandler handler, IUriFactory uriFactory = null)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler. |
IUriFactory | uriFactory | URI Factory to use. If not specified Root will be used. |
BaseResultsParserContext(SparqlResultSet, bool, IUriFactory)
Creates a new Results Parser Context.
Declaration
public BaseResultsParserContext(SparqlResultSet results, bool traceParsing, IUriFactory uriFactory = null)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set. |
bool | traceParsing | Whether to trace parsing. |
IUriFactory | uriFactory | URI Factory to use. If not specified Root will be used. |
BaseResultsParserContext(SparqlResultSet, IUriFactory)
Creates a new Results Parser Context.
Declaration
public BaseResultsParserContext(SparqlResultSet results, IUriFactory uriFactory = null)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set. |
IUriFactory | uriFactory | URI Factory to use. If not specified Root will be used. |
Properties
| Edit this page 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 |
---|---|
bool |
UriFactory
Gets the URI factory to use.
Declaration
public IUriFactory UriFactory { get; }
Property Value
Type | Description |
---|---|
IUriFactory |
Variables
Gets the Variables that have been seen.
Declaration
public List<string> Variables { get; }
Property Value
Type | Description |
---|---|
List<string> |