Show / Hide Table of Contents

Class SparqlHtmlWriter

Class for saving SPARQL Result Sets to a HTML Table format (this is not a standardised format).
Inheritance
System.Object
BaseHtmlWriter
SparqlHtmlWriter
Implements
IHtmlWriter
ISparqlResultsWriter
INamespaceWriter
Inherited Members
BaseHtmlWriter.Stylesheet
BaseHtmlWriter.CssClassUri
BaseHtmlWriter.CssClassBlankNode
BaseHtmlWriter.CssClassLiteral
BaseHtmlWriter.CssClassDatatype
BaseHtmlWriter.CssClassLangSpec
BaseHtmlWriter.CssClassBox
BaseHtmlWriter.UriPrefix
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)
Namespace: VDS.RDF.Writing
Assembly: dotNetRDF.dll
Syntax
public class SparqlHtmlWriter : BaseHtmlWriter, IHtmlWriter, ISparqlResultsWriter, INamespaceWriter

Properties

| Improve this Doc View Source

DefaultNamespaces

Gets/Sets the Default Namespaces used to pretty print URIs in the output.
Declaration
public INamespaceMapper DefaultNamespaces { get; set; }
Property Value
Type Description
INamespaceMapper

Methods

| Improve this Doc View Source

Save(SparqlResultSet, TextWriter)

Saves the Result Set to the given Stream as a HTML Table.
Declaration
public void Save(SparqlResultSet results, TextWriter output)
Parameters
Type Name Description
SparqlResultSet results Result Set to save.
System.IO.TextWriter output Stream to save to.
| Improve this Doc View Source

Save(SparqlResultSet, String)

Saves the Result Set to the given File as a HTML Table.
Declaration
public void Save(SparqlResultSet results, string filename)
Parameters
Type Name Description
SparqlResultSet results Result Set to save.
System.String filename File to save to.
| Improve this Doc View Source

ToString()

Gets the String representation of the writer which is a description of the syntax it produces.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Events

| Improve this Doc View Source

Warning

Event raised when a non-fatal issue with the SPARQL Results being written is detected
Declaration
public event SparqlWarning Warning
Event Type
Type Description
SparqlWarning

Implements

IHtmlWriter
ISparqlResultsWriter
INamespaceWriter

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • DefaultNamespaces
  • Methods
    • Save(SparqlResultSet, TextWriter)
    • Save(SparqlResultSet, String)
    • ToString()
  • Events
    • Warning
  • Implements
  • Extension Methods
Back to top Generated by DocFX