SemWeb : SemWeb.Query Namespace
SparqlXmlQuerySink Class

A QueryResultSink outputting results in the SPARQL output XML format.

public class SparqlXmlQuerySink : QueryResultSink

Remarks

Although the format was designed for SPARQL queries, it can be used with any Query class.

Requirements

Namespace: SemWeb.Query
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.6.0, 1.0.6.2, 1.0.7.0

Members

See Also: Inherited members from QueryResultSink.

Public Constructors

Creates the sink to write the results to a TextWriter.
Creates the sink to write the results to an XmlWriter.

Public Fields

const
MimeType string . Gets the MIME type for the SPARQL XML Results format.

Public Methods

override
Add (VariableBindings) : bool
Documentation for this section has not yet been entered.
override
AddComments (string)
Documentation for this section has not yet been entered.
override
Finished ()
Documentation for this section has not yet been entered.
override
Init (SemWeb.Variable[])
Documentation for this section has not yet been entered.

Member Details

SparqlXmlQuerySink Constructor

Creates the sink to write the results to a TextWriter.

public SparqlXmlQuerySink (System.IO.TextWriter output)

Parameters

output
The TextWriter to write results to.

Remarks

None.

Requirements

Namespace: SemWeb.Query
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.6.2, 1.0.7.0

SparqlXmlQuerySink Constructor

Creates the sink to write the results to an XmlWriter.

public SparqlXmlQuerySink (System.Xml.XmlWriter output)

Parameters

output
The XmlWriter to write results to.

Remarks

None.

Requirements

Namespace: SemWeb.Query
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.6.2, 1.0.7.0

Add Method

Documentation for this section has not yet been entered.

public override bool Add (VariableBindings result)

Parameters

result
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb.Query
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.7.0

AddComments Method

Documentation for this section has not yet been entered.

public override void AddComments (string comments)

Parameters

comments
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb.Query
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.7.0

Finished Method

Documentation for this section has not yet been entered.

public override void Finished ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb.Query
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.7.0

Init Method

Documentation for this section has not yet been entered.

public override void Init (SemWeb.Variable[] variables)

Parameters

variables
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb.Query
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.7.0

MimeType Field

Gets the MIME type for the SPARQL XML Results format.

public const string MimeType

Remarks

Returns "application/sparql-results+xml".

Requirements

Namespace: SemWeb.Query
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.6.2, 1.0.7.0