Class BaseParserContext
Base Class for Parser Contexts.
Inheritance
System.Object
BaseParserContext
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing.Contexts
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseParserContext : IParserContext
Constructors
| Improve this Doc View SourceBaseParserContext(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. |
System.Boolean | traceParsing | Whether to trace parsing. |
BaseParserContext(IGraph)
Creates a new Base Parser Context.
Declaration
public BaseParserContext(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to parse into. |
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. |
System.Boolean | traceParsing | Whether to trace parsing. |
IUriFactory | uriFactory | The URI factory to use. |
BaseParserContext(IRdfHandler, bool)
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. |
BaseParserContext(IRdfHandler)
Creates a new Base Parser Context.
Declaration
public BaseParserContext(IRdfHandler handler)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler. |
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 |
UriFactory
Gets the URI factory for the handler.
Declaration
public IUriFactory UriFactory { get; }
Property Value
Type | Description |
---|---|
IUriFactory |