Show / Hide Table of Contents

Class BaseHandler

Abstract Base Class for Handlers.
Inheritance
System.Object
BaseHandler
BaseRdfHandler
BaseResultsHandler
Implements
INodeFactory
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.Handlers
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseHandler : INodeFactory

Constructors

| Improve this Doc View Source

BaseHandler()

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

BaseHandler(INodeFactory)

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

Properties

| Improve this Doc View Source

NodeFactory

Gets/Sets the in-use Node Factory.
Declaration
protected INodeFactory NodeFactory { get; set; }
Property Value
Type Description
INodeFactory

Methods

| Improve this Doc View Source

CreateBlankNode()

Creates a Blank Node.
Declaration
public virtual IBlankNode CreateBlankNode()
Returns
Type Description
IBlankNode
| Improve this Doc View Source

CreateBlankNode(String)

Creates a Blank Node with the given ID.
Declaration
public virtual IBlankNode CreateBlankNode(string nodeId)
Parameters
Type Name Description
System.String nodeId Node ID.
Returns
Type Description
IBlankNode
| Improve this Doc View Source

CreateGraphLiteralNode()

Creates a Graph Literal Node.
Declaration
public virtual IGraphLiteralNode CreateGraphLiteralNode()
Returns
Type Description
IGraphLiteralNode
| Improve this Doc View Source

CreateGraphLiteralNode(IGraph)

Creates a Graph Literal Node with the given sub-graph.
Declaration
public virtual IGraphLiteralNode CreateGraphLiteralNode(IGraph subgraph)
Parameters
Type Name Description
IGraph subgraph Sub-graph.
Returns
Type Description
IGraphLiteralNode
| Improve this Doc View Source

CreateLiteralNode(String)

Creates a Literal Node.
Declaration
public virtual ILiteralNode CreateLiteralNode(string literal)
Parameters
Type Name Description
System.String literal Value.
Returns
Type Description
ILiteralNode
| Improve this Doc View Source

CreateLiteralNode(String, String)

Creates a Literal Node with the given Language.
Declaration
public virtual ILiteralNode CreateLiteralNode(string literal, string langspec)
Parameters
Type Name Description
System.String literal Value.
System.String langspec Language.
Returns
Type Description
ILiteralNode
| Improve this Doc View Source

CreateLiteralNode(String, Uri)

Creates a Literal Node with the given Datatype.
Declaration
public virtual ILiteralNode CreateLiteralNode(string literal, Uri datatype)
Parameters
Type Name Description
System.String literal Value.
System.Uri datatype Datatype URI.
Returns
Type Description
ILiteralNode
| Improve this Doc View Source

CreateUriNode(Uri)

Creates a URI Node.
Declaration
public virtual IUriNode CreateUriNode(Uri uri)
Parameters
Type Name Description
System.Uri uri URI.
Returns
Type Description
IUriNode
| Improve this Doc View Source

CreateVariableNode(String)

Creates a Variable Node.
Declaration
public virtual IVariableNode CreateVariableNode(string varname)
Parameters
Type Name Description
System.String varname Variable Name.
Returns
Type Description
IVariableNode
| Improve this Doc View Source

GetNextBlankNodeID()

Gets the next available Blank Node ID.
Declaration
public virtual string GetNextBlankNodeID()
Returns
Type Description
System.String

Implements

INodeFactory

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseHandler()
    • BaseHandler(INodeFactory)
  • Properties
    • NodeFactory
  • Methods
    • CreateBlankNode()
    • CreateBlankNode(String)
    • CreateGraphLiteralNode()
    • CreateGraphLiteralNode(IGraph)
    • CreateLiteralNode(String)
    • CreateLiteralNode(String, String)
    • CreateLiteralNode(String, Uri)
    • CreateUriNode(Uri)
    • CreateVariableNode(String)
    • GetNextBlankNodeID()
  • Implements
  • Extension Methods
Back to top Generated by DocFX