Show / Hide Table of Contents

Class BaseRdfHandler

Abstract Base Class for RDF Handlers.
Inheritance
System.Object
BaseHandler
BaseRdfHandler
DataTableHandler
AnyHandler
CancellableHandler
ChainedHandler
CountHandler
GraphHandler
GraphUriRewriteHandler
MultiHandler
NullHandler
PagingHandler
StoreCountHandler
StoreHandler
StripStringHandler
UniqueBlankNodesHandler
WriteThroughHandler
WriteToStoreHandler
Implements
IRdfHandler
INodeFactory
Inherited Members
BaseHandler.NodeFactory
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.CreateVariableNode(String)
BaseHandler.GetNextBlankNodeID()
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.Handlers
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseRdfHandler : BaseHandler, IRdfHandler, INodeFactory

Constructors

| Improve this Doc View Source

BaseRdfHandler()

Creates a new RDF Handler.
Declaration
public BaseRdfHandler()
| Improve this Doc View Source

BaseRdfHandler(INodeFactory)

Creates a new RDF Handler using the given Node Factory.
Declaration
public BaseRdfHandler(INodeFactory factory)
Parameters
Type Name Description
INodeFactory factory Node Factory.

Properties

| Improve this Doc View Source

AcceptsAll

Gets whether the Handler will accept all Triples i.e. it will never abort handling early.
Declaration
public abstract bool AcceptsAll { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

EndRdf(Boolean)

Ends the Handling of RDF.
Declaration
public void EndRdf(bool ok)
Parameters
Type Name Description
System.Boolean ok Whether the parsing completed without error.
| Improve this Doc View Source

EndRdfInternal(Boolean)

Optionally used by derived Handlers to do additional actions on ending RDF handling.
Declaration
protected virtual void EndRdfInternal(bool ok)
Parameters
Type Name Description
System.Boolean ok Whether the parsing completed without error.
| Improve this Doc View Source

HandleBaseUri(Uri)

Handles Base URI declarations.
Declaration
public bool HandleBaseUri(Uri baseUri)
Parameters
Type Name Description
System.Uri baseUri Base URI.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

HandleBaseUriInternal(Uri)

Optionally used by derived Handlers to do additional actions on handling Base URI declarations.
Declaration
protected virtual bool HandleBaseUriInternal(Uri baseUri)
Parameters
Type Name Description
System.Uri baseUri Base URI.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

HandleNamespace(String, Uri)

Handles Namespace declarations.
Declaration
public bool HandleNamespace(string prefix, Uri namespaceUri)
Parameters
Type Name Description
System.String prefix Prefix.
System.Uri namespaceUri Namespace URI.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

HandleNamespaceInternal(String, Uri)

Optionally used by derived Handlers to do additional actions on handling namespace declarations.
Declaration
protected virtual bool HandleNamespaceInternal(string prefix, Uri namespaceUri)
Parameters
Type Name Description
System.String prefix Prefix.
System.Uri namespaceUri Namespace URI.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

HandleTriple(Triple)

Handles Triples.
Declaration
public bool HandleTriple(Triple t)
Parameters
Type Name Description
Triple t Triple.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

HandleTripleInternal(Triple)

Must be overridden by derived handlers to take appropriate Triple handling action.
Declaration
protected abstract bool HandleTripleInternal(Triple t)
Parameters
Type Name Description
Triple t Triple.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

StartRdf()

Starts the Handling of RDF.
Declaration
public void StartRdf()
| Improve this Doc View Source

StartRdfInternal()

Optionally used by derived Handlers to do additional actions on starting RDF handling.
Declaration
protected virtual void StartRdfInternal()

Implements

IRdfHandler
INodeFactory

Extension Methods

Extensions.AsEnumerable<T>(T)
HandlerExtensions.Apply(IRdfHandler, IGraph)
HandlerExtensions.Apply(IRdfHandler, IEnumerable<Triple>)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseRdfHandler()
    • BaseRdfHandler(INodeFactory)
  • Properties
    • AcceptsAll
  • Methods
    • EndRdf(Boolean)
    • EndRdfInternal(Boolean)
    • HandleBaseUri(Uri)
    • HandleBaseUriInternal(Uri)
    • HandleNamespace(String, Uri)
    • HandleNamespaceInternal(String, Uri)
    • HandleTriple(Triple)
    • HandleTripleInternal(Triple)
    • StartRdf()
    • StartRdfInternal()
  • Implements
  • Extension Methods
Back to top Generated by DocFX