Interface IRdfHandler
Interface for Handlers which handle the RDF produced by parsers.
Assembly: dotNetRDF.dll
Syntax
public interface IRdfHandler : INodeFactory
Properties
|
Improve this Doc
View Source
AcceptsAll
Gets whether the Handler will always handle all data (i.e. won't terminate parsing early).
Declaration
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
EndRdf(Boolean)
End the Handling of RDF.
Declaration
Parameters
Type |
Name |
Description |
System.Boolean |
ok |
Whether parsing finished without error. |
|
Improve this Doc
View Source
HandleBaseUri(Uri)
Handles a Base URI Definition.
Declaration
bool HandleBaseUri(Uri baseUri)
Parameters
Type |
Name |
Description |
System.Uri |
baseUri |
Base URI. |
Returns
Type |
Description |
System.Boolean |
Should return true if parsing should continue or false if it should be aborted. |
|
Improve this Doc
View Source
HandleNamespace(String, Uri)
Handles a Namespace Definition.
Declaration
bool HandleNamespace(string prefix, Uri namespaceUri)
Parameters
Type |
Name |
Description |
System.String |
prefix |
Namespace Prefix. |
System.Uri |
namespaceUri |
Namespace URI. |
Returns
Type |
Description |
System.Boolean |
Should return true if parsing should continue or false if it should be aborted. |
|
Improve this Doc
View Source
HandleTriple(Triple)
Handles a Triple.
Declaration
bool HandleTriple(Triple t)
Parameters
Type |
Name |
Description |
Triple |
t |
Triple. |
Returns
Type |
Description |
System.Boolean |
Should return true if parsing should continue or false if it should be aborted. |
|
Improve this Doc
View Source
StartRdf()
Start the Handling of RDF.
Declaration
Exceptions
Type |
Condition |
RdfParseException |
May be thrown if the Handler is already in use and the implementation is not thread-safe. |
Extension Methods