Class NTriplesWriterContext
Writer Context for NTriples Writers.
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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, bool, bool)
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. |
NTriplesWriterContext(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. |
Properties
| Improve this Doc View SourceSyntax
Gets the NTriples syntax mode.
Declaration
public NTriplesSyntax Syntax { get; }
Property Value
Type | Description |
---|---|
NTriplesSyntax |