Show / Hide Table of Contents

Class NQuadsFormatter

Formatter which formats Triples as NQuads adding an additional URI at the end of the Triple if there is a Graph URI associated with the Triple.

Inheritance
System.Object
BaseFormatter
NTriplesFormatter
NQuadsFormatter
NQuads11Formatter
Implements
INodeFormatter
ITripleFormatter
IUriFormatter
ICharFormatter
IResultFormatter
IQuadFormatter
Inherited Members
NTriplesFormatter._litEscapes
NTriplesFormatter.Syntax
NTriplesFormatter.FormatUriNode(IUriNode, TripleSegment?)
NTriplesFormatter.FormatLiteralNode(ILiteralNode, TripleSegment?)
NTriplesFormatter.FormatDatatype(Uri)
NTriplesFormatter.FormatTripleNode(ITripleNode, TripleSegment?)
NTriplesFormatter.FormatChar(char)
NTriplesFormatter.FormatChar(char[])
NTriplesFormatter.FormatBlankNode(IBlankNode, TripleSegment?)
NTriplesFormatter.FormatUri(Uri)
NTriplesFormatter.FormatUri(string)
BaseFormatter.FormatName
BaseFormatter.Format(INode, TripleSegment?)
BaseFormatter.Format(INode)
BaseFormatter.Format(Triple)
BaseFormatter.FormatVariableNode(IVariableNode, TripleSegment?)
BaseFormatter.FormatGraphLiteralNode(IGraphLiteralNode, TripleSegment?)
BaseFormatter.Format(ISparqlResult)
BaseFormatter.FormatBooleanResult(bool)
BaseFormatter.Escape(string, List<string[]>)
BaseFormatter.ToString()
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 NQuadsFormatter : NTriplesFormatter, INodeFormatter, ITripleFormatter, IUriFormatter, ICharFormatter, IResultFormatter, IQuadFormatter

Constructors

| Improve this Doc View Source

NQuadsFormatter()

Creates a new NQuads Formatter.

Declaration
public NQuadsFormatter()
| Improve this Doc View Source

NQuadsFormatter(NQuadsSyntax, string)

Creates a new NQuads formatter.

Declaration
public NQuadsFormatter(NQuadsSyntax syntax, string formatName)
Parameters
Type Name Description
NQuadsSyntax syntax

NQuads syntax to output.

string formatName

Format Name.

| Improve this Doc View Source

NQuadsFormatter(NQuadsSyntax)

Creates a new NQuads formatter.

Declaration
public NQuadsFormatter(NQuadsSyntax syntax)
Parameters
Type Name Description
NQuadsSyntax syntax

NQuads syntax to output.

Methods

| Improve this Doc View Source

Format(Triple, IRefNode)

Formats a Triple (optionally in the context of a graph) as a String.

Declaration
public override string Format(Triple t, IRefNode graph)
Parameters
Type Name Description
Triple t

Triple.

IRefNode graph

The graph containing the triple.

Returns
Type Description
string
Overrides
NTriplesFormatter.Format(Triple, IRefNode)

Implements

INodeFormatter
ITripleFormatter
IUriFormatter
ICharFormatter
IResultFormatter
IQuadFormatter

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • NQuadsFormatter()
    • NQuadsFormatter(NQuadsSyntax, string)
    • NQuadsFormatter(NQuadsSyntax)
  • Methods
    • Format(Triple, IRefNode)
  • Implements
  • Extension Methods
Back to top Generated by DocFX