Class GraphUriRewriteHandler
A RDF Handler that rewrites the Graph URIs of Triples before passing them to an inner handler.
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 GraphUriRewriteHandler : BaseRdfHandler, IWrappingRdfHandler, IRdfHandler, INodeFactory
Constructors
| Improve this Doc View SourceGraphUriRewriteHandler(IRdfHandler, Uri)
Creates a new Graph URI rewriting handler.
Declaration
public GraphUriRewriteHandler(IRdfHandler handler, Uri graphUri)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | Handler to wrap. |
System.Uri | graphUri | Graph URI to rewrite to. |
Properties
| Improve this Doc View SourceAcceptsAll
Returns true since this handler accepts all triples.
Declaration
public override bool AcceptsAll { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceInnerHandlers
Gets the Inner Handler.
Declaration
public IEnumerable<IRdfHandler> InnerHandlers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IRdfHandler> |
Methods
| Improve this Doc View SourceEndRdfInternal(Boolean)
Ends handling of RDF.
Declaration
protected override void EndRdfInternal(bool ok)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | ok | Whether parsing completed OK. |
Overrides
| Improve this Doc View SourceHandleBaseUriInternal(Uri)
Handles a Base URI declaration.
Declaration
protected override bool HandleBaseUriInternal(Uri baseUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | baseUri | Base URI. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceHandleNamespaceInternal(String, Uri)
Handles a Namespace declaration.
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 a Triple by rewriting the Graph URI and passing it to the inner handler.
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 of RDF.
Declaration
protected override void StartRdfInternal()