Show / Hide Table of Contents

Class BaseResultsHandler

Abstract Base Class for SPARQL Results Handlers.

Inheritance
object
BaseHandler
BaseResultsHandler
ListStringsHandler
ListUrisHandler
MultisetHandler
ResultCountHandler
ResultSetHandler
ResultWriteThroughHandler
Implements
ISparqlResultsHandler
INodeFactory
Inherited Members
BaseHandler.NodeFactory
BaseHandler.NormalizeLiteralValues
BaseHandler.LanguageTagValidation
BaseHandler.ResolveQName(string)
BaseHandler.BaseUri
BaseHandler.NamespaceMap
BaseHandler.UriFactory
BaseHandler.CreateBlankNode()
BaseHandler.CreateBlankNode(string)
BaseHandler.CreateGraphLiteralNode()
BaseHandler.CreateGraphLiteralNode(IGraph)
BaseHandler.CreateLiteralNode(string, Uri)
BaseHandler.CreateLiteralNode(string)
BaseHandler.CreateLiteralNode(string, string)
BaseHandler.CreateUriNode(Uri)
BaseHandler.CreateUriNode(string)
BaseHandler.CreateUriNode()
BaseHandler.CreateVariableNode(string)
BaseHandler.CreateTripleNode(Triple)
BaseHandler.GetNextBlankNodeID()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing.Handlers
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseResultsHandler : BaseHandler, ISparqlResultsHandler, INodeFactory

Constructors

| Edit this page View Source

BaseResultsHandler()

Creates a new SPARQL Results Handler.

Declaration
protected BaseResultsHandler()
| Edit this page View Source

BaseResultsHandler(INodeFactory)

Creates a new SPARQL Results Handler.

Declaration
protected BaseResultsHandler(INodeFactory factory)
Parameters
Type Name Description
INodeFactory factory

Node Factory.

Methods

| Edit this page View Source

EndResults(bool)

Ends Results Handling.

Declaration
public void EndResults(bool ok)
Parameters
Type Name Description
bool ok

Whether parsing completed without error.

| Edit this page View Source

EndResultsInternal(bool)

Optionally used by derived classes to take additional actions on ending Results Handling.

Declaration
protected virtual void EndResultsInternal(bool ok)
Parameters
Type Name Description
bool ok

Whether parsing completed without error.

| Edit this page View Source

HandleBooleanResult(bool)

Handles a Boolean Results.

Declaration
public void HandleBooleanResult(bool result)
Parameters
Type Name Description
bool result

Result.

| Edit this page View Source

HandleBooleanResultInternal(bool)

Must be overridden by derived handlers to appropriately handle boolean results.

Declaration
protected abstract void HandleBooleanResultInternal(bool result)
Parameters
Type Name Description
bool result

Result.

| Edit this page View Source

HandleResult(ISparqlResult)

Handlers SPARQL Results.

Declaration
public bool HandleResult(ISparqlResult result)
Parameters
Type Name Description
ISparqlResult result

Result.

Returns
Type Description
bool
| Edit this page View Source

HandleResultInternal(ISparqlResult)

Must be overridden by derived handlers to appropriately handler SPARQL Results.

Declaration
protected abstract bool HandleResultInternal(ISparqlResult result)
Parameters
Type Name Description
ISparqlResult result

Result.

Returns
Type Description
bool
| Edit this page View Source

HandleVariable(string)

Handles a Variable declaration.

Declaration
public bool HandleVariable(string var)
Parameters
Type Name Description
string var

Variable Name.

Returns
Type Description
bool
| Edit this page View Source

HandleVariableInternal(string)

Must be overridden by derived handlers to appropriately handle variable declarations.

Declaration
protected abstract bool HandleVariableInternal(string var)
Parameters
Type Name Description
string var

Variable Name.

Returns
Type Description
bool
| Edit this page View Source

StartResults()

Starts Results Handling.

Declaration
public void StartResults()
| Edit this page View Source

StartResultsInternal()

Optionally used by derived classes to take additional actions on starting Results Handling.

Declaration
protected virtual void StartResultsInternal()

Implements

ISparqlResultsHandler
INodeFactory

Extension Methods

Extensions.ToSafeString(object)
HandlerExtensions.Apply(ISparqlResultsHandler, SparqlResultSet)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • BaseResultsHandler()
    • BaseResultsHandler(INodeFactory)
  • Methods
    • EndResults(bool)
    • EndResultsInternal(bool)
    • HandleBooleanResult(bool)
    • HandleBooleanResultInternal(bool)
    • HandleResult(ISparqlResult)
    • HandleResultInternal(ISparqlResult)
    • HandleVariable(string)
    • HandleVariableInternal(string)
    • StartResults()
    • StartResultsInternal()
  • Implements
  • Extension Methods
Back to top Generated by DocFX