Class StoreHandler
A RDF Handler that loads Quads into a ITriple
Inherited Members
Namespace: VDS.RDF.Parsing.Handlers
Assembly: dotNetRdf.dll
Syntax
public class StoreHandler : BaseRdfHandler, ICommentRdfHandler, IRdfHandler, INodeFactory
Constructors
| Edit this page View SourceStoreHandler(ITripleStore)
Creates a new Store Handler.
Declaration
public StoreHandler(ITripleStore store)
Parameters
Type | Name | Description |
---|---|---|
ITriple |
store | Triple Store. |
Properties
| Edit this page View SourceAcceptsAll
Gets that the Handler accepts all Triples.
Declaration
public override bool AcceptsAll { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceStore
Gets the Triple Store that this Handler is populating.
Declaration
protected ITripleStore Store { get; }
Property Value
Type | Description |
---|---|
ITriple |
Methods
| Edit this page View SourceEndRdfInternal(bool)
Ends RDF handling and propagates all discovered namespaces to all discovered graphs.
Declaration
protected override void EndRdfInternal(bool ok)
Parameters
Type | Name | Description |
---|---|---|
bool | ok | Whether parsing completed successfully. |
Overrides
| Edit this page View SourceHandleNamespaceInternal(string, Uri)
Handles namespaces by adding them to each graph.
Declaration
protected override bool HandleNamespaceInternal(string prefix, Uri namespaceUri)
Parameters
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceHandleQuadInternal(Triple, IRefNode)
Handles Triples by asserting them into the appropriate graph creating the graph if necessary.
Declaration
protected override bool HandleQuadInternal(Triple t, IRefNode graph)
Parameters
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceHandleTripleInternal(Triple)
Handles Triples by asserting them into the un-named graph creating the graph if necessary.
Declaration
protected override bool HandleTripleInternal(Triple t)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceStartRdfInternal()
Starts handling RDF.
Declaration
protected override void StartRdfInternal()