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
Inherited Members
NTriplesFormatter.Syntax
NTriplesFormatter.FormatUriNode(IUriNode, Nullable<TripleSegment>)
NTriplesFormatter.FormatLiteralNode(ILiteralNode, Nullable<TripleSegment>)
NTriplesFormatter.FormatChar(Char)
NTriplesFormatter.FormatChar(Char[])
NTriplesFormatter.FormatBlankNode(IBlankNode, Nullable<TripleSegment>)
NTriplesFormatter.FormatUri(Uri)
NTriplesFormatter.FormatUri(String)
BaseFormatter.FormatName
BaseFormatter.Format(INode, Nullable<TripleSegment>)
BaseFormatter.Format(INode)
BaseFormatter.FormatVariableNode(IVariableNode, Nullable<TripleSegment>)
BaseFormatter.FormatGraphLiteralNode(IGraphLiteralNode, Nullable<TripleSegment>)
BaseFormatter.Format(SparqlResult)
BaseFormatter.FormatBooleanResult(Boolean)
BaseFormatter.Escape(String, List<String[]>)
BaseFormatter.ToString()
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 NQuadsFormatter : NTriplesFormatter, INodeFormatter, ITripleFormatter, IUriFormatter, ICharFormatter, IResultFormatter

Constructors

| Improve this Doc View Source

NQuadsFormatter()

Creates a new NQuads Formatter.
Declaration
public NQuadsFormatter()
| 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.
| 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.
System.String formatName Format Name.

Methods

| Improve this Doc View Source

Format(Triple)

Formats a Triple as a String.
Declaration
public override string Format(Triple t)
Parameters
Type Name Description
Triple t Triple.
Returns
Type Description
System.String
Overrides
BaseFormatter.Format(Triple)

Implements

INodeFormatter
ITripleFormatter
IUriFormatter
ICharFormatter
IResultFormatter

Extension Methods

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