Class BaseParserContext
Base Class for Parser Contexts.
Inheritance
System.Object
BaseParserContext
Implements
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 SourceBaseParserContext(IGraph)
Creates a new Base Parser Context.
Declaration
public BaseParserContext(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to parse into. |
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. |
BaseParserContext(IRdfHandler)
Creates a new Base Parser Context.
Declaration
public BaseParserContext(IRdfHandler handler)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler. |
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 |
_traceParsing
Is Parsing Traced?.
Declaration
protected bool _traceParsing
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
| Improve this Doc View SourceBaseUri
Gets the Base URI for the parsing context.
Declaration
public Uri BaseUri { get; set; }
Property Value
Type | Description |
---|---|
System.Uri |
Handler
Gets the Handler used to handle the generated RDF.
Declaration
public IRdfHandler Handler { get; }
Property Value
Type | Description |
---|---|
IRdfHandler |
Namespaces
Gets the Namespace Map for the parsing context.
Declaration
public INestedNamespaceMapper Namespaces { get; }
Property Value
Type | Description |
---|---|
INestedNamespaceMapper |
TraceParsing
Gets/Sets whether to trace parsing.
Declaration
public bool TraceParsing { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |