Show / Hide Table of Contents

Class SparqlXmlFormatter

A Result Format that formats using the official SPARQL XML Results format.
Inheritance
System.Object
SparqlXmlFormatter
Implements
IResultSetFormatter
IResultFormatter
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)
Namespace: VDS.RDF.Writing.Formatting
Assembly: dotNetRDF.dll
Syntax
public class SparqlXmlFormatter : IResultSetFormatter, IResultFormatter

Methods

| Improve this Doc View Source

Format(SparqlResult)

Formats a SPARQL Result.
Declaration
public string Format(SparqlResult result)
Parameters
Type Name Description
SparqlResult result SPARQL Result.
Returns
Type Description
System.String
| Improve this Doc View Source

FormatBooleanResult(Boolean)

Formats a Boolean Result.
Declaration
public string FormatBooleanResult(bool result)
Parameters
Type Name Description
System.Boolean result Boolean Result.
Returns
Type Description
System.String
| Improve this Doc View Source

FormatResultSetFooter()

Formats the Footer for a SPARQL Result Set.
Declaration
public string FormatResultSetFooter()
Returns
Type Description
System.String
| Improve this Doc View Source

FormatResultSetHeader()

Formats the Header for a SPARQL Result Set.
Declaration
public string FormatResultSetHeader()
Returns
Type Description
System.String
| Improve this Doc View Source

FormatResultSetHeader(IEnumerable<String>)

Formats the Header for a SPARQL Result Set.
Declaration
public string FormatResultSetHeader(IEnumerable<string> variables)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> variables Variables.
Returns
Type Description
System.String
| Improve this Doc View Source

ToString()

Gets the string representation of the formatter.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Implements

IResultSetFormatter
IResultFormatter

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • Format(SparqlResult)
    • FormatBooleanResult(Boolean)
    • FormatResultSetFooter()
    • FormatResultSetHeader()
    • FormatResultSetHeader(IEnumerable<String>)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX