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.
Inherited Members
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 SourceNQuadsFormatter()
Creates a new NQuads Formatter.
Declaration
public NQuadsFormatter()
NQuadsFormatter(NQuadsSyntax)
Creates a new NQuads formatter.
Declaration
public NQuadsFormatter(NQuadsSyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
NQuadsSyntax | syntax | NQuads syntax to output. |
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 SourceFormat(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 |