Class ChainedHandler
A Handler which passes the RDF to be handled through a sequence of Handlers where Handling is terminated as soon as any Handler returns false.
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 ChainedHandler : BaseRdfHandler, IWrappingRdfHandler, IRdfHandler, INodeFactory
Remarks
This differs from the Multi
Constructors
| Improve this Doc View SourceChainedHandler(IEnumerable<IRdfHandler>)
Creates a new Chained Handler.
Declaration
public ChainedHandler(IEnumerable<IRdfHandler> handlers)
Parameters
Type | Name | Description |
---|---|---|
System. |
handlers | Inner Handlers to use. |
Properties
| Improve this Doc View SourceAcceptsAll
Gets that this Handler accepts all Triples if all inner handlers do so.
Declaration
public override bool AcceptsAll { get; }
Property Value
Type | Description |
---|---|
System. |
Overrides
| Improve this Doc View SourceInnerHandlers
Gets the Inner Handlers used by this Handler.
Declaration
public IEnumerable<IRdfHandler> InnerHandlers { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceEndRdfInternal(Boolean)
Ends the Handling of RDF for each inner handler.
Declaration
protected override void EndRdfInternal(bool ok)
Parameters
Type | Name | Description |
---|---|---|
System. |
ok | Whether parsing completed without errors. |
Overrides
| Improve this Doc View SourceHandleBaseUriInternal(Uri)
Handles Base URIs by getting each inner handler to attempt to handle it.
Declaration
protected override bool HandleBaseUriInternal(Uri baseUri)
Parameters
Type | Name | Description |
---|---|---|
System. |
baseUri | Base URI. |
Returns
Type | Description |
---|---|
System. |
Overrides
Remarks
Handling terminates at the first Handler which indicates handling should stop.
|
Improve this Doc
View Source
HandleNamespaceInternal(String, Uri)
Handles Namespaces by getting each inner handler to attempt to handle it.
Declaration
protected override bool HandleNamespaceInternal(string prefix, Uri namespaceUri)
Parameters
Type | Name | Description |
---|---|---|
System. |
prefix | Namespace Prefix. |
System. |
namespaceUri | Namespace URI. |
Returns
Type | Description |
---|---|
System. |
Overrides
Remarks
Handling terminates at the first Handler which indicates handling should stop.
|
Improve this Doc
View Source
HandleTripleInternal(Triple)
Handles Triples by getting each inner handler to attempt to handle it.
Declaration
protected override bool HandleTripleInternal(Triple t)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
Returns
Type | Description |
---|---|
System. |
Overrides
Remarks
Handling terminates at the first Handler which indicates handling should stop.
|
Improve this Doc
View Source
StartRdfInternal()
Starts the Handling of RDF for each inner handler.
Declaration
protected override void StartRdfInternal()