Class StoreHandler
A RDF Handler that loads Quads into a ITripleStore instance.
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 class StoreHandler : BaseRdfHandler, IRdfHandler, INodeFactory
Constructors
| Improve this Doc View SourceStoreHandler(ITripleStore)
Creates a new Store Handler.
Declaration
public StoreHandler(ITripleStore store)
Parameters
Type | Name | Description |
---|---|---|
ITripleStore | store | Triple Store. |
Properties
| Improve this Doc View SourceAcceptsAll
Gets that the Handler accepts all Triples.
Declaration
public override bool AcceptsAll { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceStore
Gets the Triple Store that this Handler is populating.
Declaration
protected ITripleStore Store { get; }
Property Value
Type | Description |
---|---|
ITripleStore |
Methods
| Improve this Doc View SourceEndRdfInternal(Boolean)
Ends RDF handling and propogates all discovered namespaces to all discovered graphs.
Declaration
protected override void EndRdfInternal(bool ok)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | ok | Whether parsing completed successfully. |
Overrides
| Improve this Doc View SourceHandleNamespaceInternal(String, Uri)
Handles namespaces by adding them to each graph.
Declaration
protected override bool HandleNamespaceInternal(string prefix, Uri namespaceUri)
Parameters
Type | Name | Description |
---|---|---|
System.String | prefix | Namespace Prefix. |
System.Uri | namespaceUri | Namespace URI. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceHandleTripleInternal(Triple)
Handles Triples by asserting them into the appropriate Graph creating the Graph if necessary.
Declaration
protected override bool HandleTripleInternal(Triple t)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceStartRdfInternal()
Starts handling RDF.
Declaration
protected override void StartRdfInternal()