Class TurtleWriterContext
Writer Context for Turtle 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 TurtleWriterContext : BaseWriterContext, IWriterContext
Constructors
| Improve this Doc View SourceTurtleWriterContext(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. |
System.IO.TextWriter | output | TextWriter to write to. |
System.Boolean | prettyPrint | Pretty Print Mode. |
System.Boolean | hiSpeed | High Speed Mode. |
TurtleSyntax | syntax | Turtle Syntax. |
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. |
System.IO.TextWriter | output | TextWriter to write to. |
System.Boolean | prettyPrint | Pretty Print Mode. |
System.Boolean | hiSpeed | High Speed Mode. |
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. |
System.IO.TextWriter | output | TextWriter to write to. |
int | compressionLevel | Compression Level to use. |
System.Boolean | prettyPrint | Pretty Print Mode. |
System.Boolean | 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. |
System.IO.TextWriter | output | TextWriter to write to. |
TurtleSyntax | syntax | Turtle Syntax. |
TurtleWriterContext(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. |
System.IO.TextWriter | output | TextWriter to write to. |