Class TurtleWriterContext
Writer Context for Turtle Writers.
Implements
Inherited Members
Namespace: VDS.RDF.Writing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class TurtleWriterContext : BaseWriterContext, IWriterContext
Constructors
| Edit this page View SourceTurtleWriterContext(IGraph, TextWriter)
Creates a new Turtle Writer Context with default settings.
Declaration
public TurtleWriterContext(IGraph g, TextWriter output)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraph | g | Graph to write. |
| TextWriter | output | TextWriter to write to. |
TurtleWriterContext(IGraph, TextWriter, bool, bool)
Creates a new Turtle Writer Context with custom settings.
Declaration
public TurtleWriterContext(IGraph g, TextWriter output, bool prettyPrint, bool hiSpeed)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraph | g | Graph to write. |
| TextWriter | output | TextWriter to write to. |
| bool | prettyPrint | Pretty Print Mode. |
| bool | hiSpeed | High Speed Mode. |
TurtleWriterContext(IGraph, TextWriter, bool, bool, TurtleSyntax)
Creates a new Turtle Writer Context with custom settings.
Declaration
public TurtleWriterContext(IGraph g, TextWriter output, bool prettyPrint, bool hiSpeed, TurtleSyntax syntax)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraph | g | Graph to write. |
| TextWriter | output | TextWriter to write to. |
| bool | prettyPrint | Pretty Print Mode. |
| bool | hiSpeed | High Speed Mode. |
| TurtleSyntax | syntax | Turtle Syntax. |
TurtleWriterContext(IGraph, TextWriter, int, bool, bool, TurtleSyntax)
Creates a new Turtle Writer Context with custom settings.
Declaration
public TurtleWriterContext(IGraph g, TextWriter output, int compressionLevel, bool prettyPrint, bool hiSpeed, TurtleSyntax syntax)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraph | g | Graph to write. |
| TextWriter | output | TextWriter to write to. |
| int | compressionLevel | Compression Level to use. |
| bool | prettyPrint | Pretty Print Mode. |
| bool | hiSpeed | High Speed Mode. |
| TurtleSyntax | syntax | Turtle Syntax. |
TurtleWriterContext(IGraph, TextWriter, TurtleSyntax)
Creates a new Turtle Writer Context with default settings.
Declaration
public TurtleWriterContext(IGraph g, TextWriter output, TurtleSyntax syntax)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraph | g | Graph to write. |
| TextWriter | output | TextWriter to write to. |
| TurtleSyntax | syntax | Turtle Syntax. |