Class BaseParserContext
Base Class for Parser Contexts.
Inheritance
BaseParserContext
Implements
Inherited Members
Namespace: VDS.RDF.Parsing.Contexts
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseParserContext : IParserContext
Constructors
| Edit this page 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, bool)
Creates a new Base Parser Context.
Declaration
public BaseParserContext(IGraph g, bool traceParsing)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to parse into. |
bool | 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, bool)
Creates a new Base Parser Context.
Declaration
public BaseParserContext(IRdfHandler handler, bool traceParsing)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler. |
bool | traceParsing | Whether to trace parsing. |
BaseParserContext(IRdfHandler, bool, IUriFactory)
Creates a new Base Parser Context.
Declaration
public BaseParserContext(IRdfHandler handler, bool traceParsing, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler. |
bool | traceParsing | Whether to trace parsing. |
IUriFactory | uriFactory | The URI factory to use. |
Fields
| Edit this page 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 |
---|---|
bool |
Properties
| Edit this page View SourceBaseUri
Gets the Base URI for the parsing context.
Declaration
public Uri BaseUri { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
bool |
UriFactory
Gets the URI factory for the handler.
Declaration
public IUriFactory UriFactory { get; }
Property Value
Type | Description |
---|---|
IUriFactory |