Show / Hide Table of Contents

Interface IRdfHandler

Interface for Handlers which handle the RDF produced by parsers.
Inherited Members
INodeFactory.CreateBlankNode()
INodeFactory.CreateBlankNode(String)
INodeFactory.CreateGraphLiteralNode()
INodeFactory.CreateGraphLiteralNode(IGraph)
INodeFactory.CreateLiteralNode(String, Uri)
INodeFactory.CreateLiteralNode(String)
INodeFactory.CreateLiteralNode(String, String)
INodeFactory.CreateUriNode(Uri)
INodeFactory.CreateVariableNode(String)
INodeFactory.GetNextBlankNodeID()
Namespace: VDS.RDF
Assembly: dotNetRDF.dll
Syntax
public interface IRdfHandler : INodeFactory

Properties

| Improve this Doc View Source

AcceptsAll

Gets whether the Handler will always handle all data (i.e. won't terminate parsing early).
Declaration
bool AcceptsAll { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

EndRdf(Boolean)

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

HandleBaseUri(Uri)

Handles a Base URI Definition.
Declaration
bool HandleBaseUri(Uri baseUri)
Parameters
Type Name Description
System.Uri baseUri Base URI.
Returns
Type Description
System.Boolean Should return true if parsing should continue or false if it should be aborted.
| Improve this Doc View Source

HandleNamespace(String, Uri)

Handles a Namespace Definition.
Declaration
bool HandleNamespace(string prefix, Uri namespaceUri)
Parameters
Type Name Description
System.String prefix Namespace Prefix.
System.Uri namespaceUri Namespace URI.
Returns
Type Description
System.Boolean Should return true if parsing should continue or false if it should be aborted.
| Improve this Doc View Source

HandleTriple(Triple)

Handles a Triple.
Declaration
bool HandleTriple(Triple t)
Parameters
Type Name Description
Triple t Triple.
Returns
Type Description
System.Boolean Should return true if parsing should continue or false if it should be aborted.
| Improve this Doc View Source

StartRdf()

Start the Handling of RDF.
Declaration
void StartRdf()
Exceptions
Type Condition
RdfParseException May be thrown if the Handler is already in use and the implementation is not thread-safe.

Extension Methods

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