Class StripStringHandler
An RDF Handler which wraps another handler, stripping explicit xsd:string datatypes on object literals.
Inherited Members
Namespace: VDS.RDF.Parsing.Handlers
Assembly: dotNetRdf.dll
Syntax
public class StripStringHandler : BaseRdfHandler, ICommentRdfHandler, IWrappingRdfHandler, IRdfHandler, INodeFactory
Constructors
| Edit this page View SourceStripStringHandler(IRdfHandler)
Creates a new StripStringHandler.
Declaration
public StripStringHandler(IRdfHandler handler)
Parameters
Type | Name | Description |
---|---|---|
IRdf |
handler | Inner handler to use. |
Properties
| Edit this page View SourceAcceptsAll
Gets whether inner handler accepts all triples.
Declaration
public override bool AcceptsAll { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceInnerHandlers
Gets the handler wrapped by this handler.
Declaration
public IEnumerable<IRdfHandler> InnerHandlers { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IRdf |
Methods
| Edit this page View SourceEndRdfInternal(bool)
Ends inner handler.
Declaration
protected override void EndRdfInternal(bool ok)
Parameters
Type | Name | Description |
---|---|---|
bool | ok |
Overrides
| Edit this page View SourceHandleBaseUriInternal(Uri)
Delegates base Uri handling to inner handler.
Declaration
protected override bool HandleBaseUriInternal(Uri baseUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | baseUri |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceHandleCommentInternal(string)
Delegates comment handling to inner handler.
Declaration
protected override bool HandleCommentInternal(string text)
Parameters
Type | Name | Description |
---|---|---|
string | text |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceHandleNamespaceInternal(string, Uri)
Delegates namespace handling to inner handler.
Declaration
protected override bool HandleNamespaceInternal(string prefix, Uri namespaceUri)
Parameters
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceHandleQuadInternal(Triple, IRefNode)
Handles triples by stripping explicit xsd:string datatype on object literals before delegating to inner handler.
Declaration
protected override bool HandleQuadInternal(Triple t, IRefNode graph)
Parameters
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceHandleTripleInternal(Triple)
Handles triples by stripping explicit xsd:string datatype on object literals before delegating to inner handler.
Declaration
protected override bool HandleTripleInternal(Triple t)
Parameters
Type | Name | Description |
---|---|---|
Triple | t |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceStartRdfInternal()
Starts inner handler.
Declaration
protected override void StartRdfInternal()