Class NTriplesWriterContext
Writer Context for NTriples Writers.
Implements
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)
System.Object.ToString()
Namespace: VDS.RDF.Writing.Contexts
Assembly: dotNetRDF.dll
Syntax
public class NTriplesWriterContext : BaseWriterContext, IWriterContext
Constructors
| Improve this Doc View SourceNTriplesWriterContext(IGraph, TextWriter, NTriplesSyntax)
Creates a new NTriples Writer Context with default settings.
Declaration
public NTriplesWriterContext(IGraph g, TextWriter output, NTriplesSyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to write. |
System.IO.TextWriter | output | TextWriter to write to. |
NTriplesSyntax | syntax | NTriples Syntax mode. |
NTriplesWriterContext(IGraph, TextWriter, NTriplesSyntax, Boolean, Boolean)
Creates a new NTriples Writer Context with custom settings.
Declaration
public NTriplesWriterContext(IGraph g, TextWriter output, NTriplesSyntax syntax, bool prettyPrint, bool hiSpeed)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to write. |
System.IO.TextWriter | output | TextWriter to write to. |
NTriplesSyntax | syntax | NTriples Syntax mode. |
System.Boolean | prettyPrint | Pretty Print Mode. |
System.Boolean | hiSpeed | High Speed Mode. |
Properties
| Improve this Doc View SourceSyntax
Gets the NTriples syntax mode.
Declaration
public NTriplesSyntax Syntax { get; }
Property Value
Type | Description |
---|---|
NTriplesSyntax |