Show / Hide Table of Contents

Class BaseParserContext

Base Class for Parser Contexts.
Inheritance
System.Object
BaseParserContext
JsonParserContext
RdfAParserContext<THtmlDocument>
RdfXmlParserContext
TokenisingParserContext
Implements
IParserContext
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.Contexts
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseParserContext : IParserContext

Constructors

| Improve this Doc View Source

BaseParserContext(IGraph)

Creates a new Base Parser Context.
Declaration
public BaseParserContext(IGraph g)
Parameters
Type Name Description
IGraph g Graph to parse into.
| Improve this Doc View Source

BaseParserContext(IGraph, Boolean)

Creates a new Base Parser Context.
Declaration
public BaseParserContext(IGraph g, bool traceParsing)
Parameters
Type Name Description
IGraph g Graph to parse into.
System.Boolean traceParsing Whether to trace parsing.
| Improve this Doc View Source

BaseParserContext(IRdfHandler)

Creates a new Base Parser Context.
Declaration
public BaseParserContext(IRdfHandler handler)
Parameters
Type Name Description
IRdfHandler handler RDF Handler.
| Improve this Doc View Source

BaseParserContext(IRdfHandler, Boolean)

Creates a new Base Parser Context.
Declaration
public BaseParserContext(IRdfHandler handler, bool traceParsing)
Parameters
Type Name Description
IRdfHandler handler RDF Handler.
System.Boolean traceParsing Whether to trace parsing.

Fields

| Improve this Doc View Source

_handler

RDF Handler used to handle the generated RDF.
Declaration
protected IRdfHandler _handler
Field Value
Type Description
IRdfHandler
| Improve this Doc View Source

_traceParsing

Is Parsing Traced?.
Declaration
protected bool _traceParsing
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

BaseUri

Gets the Base URI for the parsing context.
Declaration
public Uri BaseUri { get; set; }
Property Value
Type Description
System.Uri
| Improve this Doc View Source

Handler

Gets the Handler used to handle the generated RDF.
Declaration
public IRdfHandler Handler { get; }
Property Value
Type Description
IRdfHandler
| Improve this Doc View Source

Namespaces

Gets the Namespace Map for the parsing context.
Declaration
public INestedNamespaceMapper Namespaces { get; }
Property Value
Type Description
INestedNamespaceMapper
| Improve this Doc View Source

TraceParsing

Gets/Sets whether to trace parsing.
Declaration
public bool TraceParsing { get; set; }
Property Value
Type Description
System.Boolean

Implements

IParserContext

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseParserContext(IGraph)
    • BaseParserContext(IGraph, Boolean)
    • BaseParserContext(IRdfHandler)
    • BaseParserContext(IRdfHandler, Boolean)
  • Fields
    • _handler
    • _traceParsing
  • Properties
    • BaseUri
    • Handler
    • Namespaces
    • TraceParsing
  • Implements
  • Extension Methods
Back to top Generated by DocFX