Class SparqlXmlFormatter
A Result Format that formats using the official SPARQL XML Results format.
Inheritance
System.Object
SparqlXmlFormatter
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 SourceFormat(SparqlResult)
Formats a SPARQL Result.
Declaration
public string Format(SparqlResult result)
Parameters
Type | Name | Description |
---|---|---|
SparqlResult | result | SPARQL Result. |
Returns
Type | Description |
---|---|
System.String |
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 |
FormatResultSetFooter()
Formats the Footer for a SPARQL Result Set.
Declaration
public string FormatResultSetFooter()
Returns
Type | Description |
---|---|
System.String |
FormatResultSetHeader()
Formats the Header for a SPARQL Result Set.
Declaration
public string FormatResultSetHeader()
Returns
Type | Description |
---|---|
System.String |
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 |
ToString()
Gets the string representation of the formatter.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()