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.
Implements
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 NQuadsFormatter : NTriplesFormatter, INodeFormatter, ITripleFormatter, IUriFormatter, ICharFormatter, IResultFormatter, IQuadFormatter
Constructors
| Improve this Doc View SourceNQuadsFormatter()
Creates a new NQuads Formatter.
Declaration
public NQuadsFormatter()
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. |
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 SourceFormat(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 |