Class StoreHandler
A RDF Handler that loads Quads into a ITripleStore instance.
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.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(bool)
Ends RDF handling and propagates 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 |
---|---|---|
string | prefix | Namespace Prefix. |
System.Uri | namespaceUri | Namespace URI. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc 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 |
---|---|
System.Boolean |
Overrides
| Improve this Doc 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 |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceStartRdfInternal()
Starts handling RDF.
Declaration
protected override void StartRdfInternal()