Show / Hide Table of Contents

Interface IQueryFormatter

Interface for classes which can format SPARQL Queries into Strings.

Inherited Members
INodeFormatter.Format(INode)
INodeFormatter.Format(INode, TripleSegment?)
IUriFormatter.FormatUri(Uri)
IUriFormatter.FormatUri(string)
Namespace: VDS.RDF.Writing.Formatting
Assembly: dotNetRdf.dll
Syntax
public interface IQueryFormatter : INodeFormatter, IUriFormatter

Methods

| Edit this page View Source

Format(GraphPattern)

Formats a Graph Pattern into a String.

Declaration
string Format(GraphPattern gp)
Parameters
Type Name Description
GraphPattern gp

Graph Pattern.

Returns
Type Description
string
| Edit this page View Source

Format(ITriplePattern)

Formats a Triple Pattern into a String.

Declaration
string Format(ITriplePattern tp)
Parameters
Type Name Description
ITriplePattern tp

Triple Pattern.

Returns
Type Description
string
| Edit this page View Source

Format(PatternItem, TripleSegment?)

Formats a Triple Pattern item into a String.

Declaration
string Format(PatternItem item, TripleSegment? segment)
Parameters
Type Name Description
PatternItem item

Pattern Item.

TripleSegment? segment

Segment of the Triple Pattern in which the Item appears.

Returns
Type Description
string
| Edit this page View Source

Format(SparqlQuery)

Formats a SPARQL Query into a String.

Declaration
string Format(SparqlQuery query)
Parameters
Type Name Description
SparqlQuery query

SPARQL Query.

Returns
Type Description
string

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Methods
    • Format(GraphPattern)
    • Format(ITriplePattern)
    • Format(PatternItem, TripleSegment?)
    • Format(SparqlQuery)
  • Extension Methods
Back to top Generated by DocFX