Show / Hide Table of Contents

Class NTriplesWriterContext

Writer Context for NTriples Writers.

Inheritance
object
BaseWriterContext
NTriplesWriterContext
Implements
IWriterContext
Inherited Members
BaseWriterContext._compressionLevel
BaseWriterContext._uriFormatter
BaseWriterContext.Graph
BaseWriterContext.Output
BaseWriterContext.QNameMapper
BaseWriterContext.CompressionLevel
BaseWriterContext.PrettyPrint
BaseWriterContext.HighSpeedModePermitted
BaseWriterContext.NodeFormatter
BaseWriterContext.UriFormatter
BaseWriterContext.UriFactory
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

| Edit this page View Source

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.

TextWriter output

TextWriter to write to.

NTriplesSyntax syntax

NTriples Syntax mode.

| Edit this page View Source

NTriplesWriterContext(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.

TextWriter output

TextWriter to write to.

NTriplesSyntax syntax

NTriples Syntax mode.

bool prettyPrint

Pretty Print Mode.

bool hiSpeed

High Speed Mode.

Properties

| Edit this page View Source

Syntax

Gets the NTriples syntax mode.

Declaration
public NTriplesSyntax Syntax { get; }
Property Value
Type Description
NTriplesSyntax

Implements

IWriterContext

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • NTriplesWriterContext(IGraph, TextWriter, NTriplesSyntax)
    • NTriplesWriterContext(IGraph, TextWriter, NTriplesSyntax, bool, bool)
  • Properties
    • Syntax
  • Implements
  • Extension Methods
Back to top Generated by DocFX