Class StoreHandler
A RDF Handler that loads Quads into a ITripleStore instance.
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 | 
|---|---|---|
| ITripleStore | 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 | 
|---|---|
| ITripleStore | 
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
| Type | Name | Description | 
|---|---|---|
| string | prefix | Namespace Prefix.  | 
      
| Uri | namespaceUri | Namespace URI.  | 
      
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
| Type | Name | Description | 
|---|---|---|
| Triple | t | Triple.  | 
      
| IRefNode | graph | The graph containing the triple.  | 
      
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()