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