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
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Writing.Formatting
Assembly: dotNetRdf.dll
Syntax
public class SparqlXmlFormatter : IResultSetFormatter, IResultFormatter

Methods

| Improve this Doc View Source

Format(ISparqlResult)

Formats a SPARQL Result.

Declaration
public string Format(ISparqlResult result)
Parameters
Type Name Description
ISparqlResult result

SPARQL Result.

Returns
Type Description
string
| Improve this Doc View Source

FormatBooleanResult(bool)

Formats a Boolean Result.

Declaration
public string FormatBooleanResult(bool result)
Parameters
Type Name Description
System.Boolean result

Boolean Result.

Returns
Type Description
string
| Improve this Doc View Source

FormatResultSetFooter()

Formats the Footer for a SPARQL Result Set.

Declaration
public string FormatResultSetFooter()
Returns
Type Description
string
| Improve this Doc View Source

FormatResultSetHeader()

Formats the Header for a SPARQL Result Set.

Declaration
public string FormatResultSetHeader()
Returns
Type Description
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<T><string> variables

Variables.

Returns
Type Description
string
| Improve this Doc View Source

ToString()

Gets the string representation of the formatter.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

IResultSetFormatter
IResultFormatter

Extension Methods

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