Class CompressingTurtleWriterContext
Writer Context for Compressing Turtle Writers.
Implements
Inherited Members
Namespace: VDS.RDF.Writing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class CompressingTurtleWriterContext : TurtleWriterContext, ICollectionCompressingWriterContext, IAnnotationCompressingWriterContext, ICompressingWriterContext, IWriterContext
Constructors
| Edit this page View SourceCompressingTurtleWriterContext(IGraph, TextWriter)
Creates a new Turtle Writer Context with default settings.
Declaration
public CompressingTurtleWriterContext(IGraph g, TextWriter output)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to write. |
TextWriter | output | TextWriter to write to. |
CompressingTurtleWriterContext(IGraph, TextWriter, bool, bool)
Creates a new Turtle Writer Context with custom settings.
Declaration
public CompressingTurtleWriterContext(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. |
CompressingTurtleWriterContext(IGraph, TextWriter, bool, bool, TurtleSyntax)
Creates a new Turtle Writer Context with custom settings.
Declaration
public CompressingTurtleWriterContext(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. |
CompressingTurtleWriterContext(IGraph, TextWriter, int, bool, bool)
Creates a new Turtle Writer Context with custom settings.
Declaration
public CompressingTurtleWriterContext(IGraph g, TextWriter output, int compressionLevel, bool prettyPrint, bool hiSpeed)
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. |
CompressingTurtleWriterContext(IGraph, TextWriter, int, bool, bool, TurtleSyntax)
Creates a new Turtle Writer Context with custom settings.
Declaration
public CompressingTurtleWriterContext(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. |
CompressingTurtleWriterContext(IGraph, TextWriter, TurtleSyntax)
Creates a new Turtle Writer Context with default settings.
Declaration
public CompressingTurtleWriterContext(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. |
Properties
| Edit this page View SourceAnnotations
Gets the mapping from asserted triples to triples that have the asserted triple as subject.
Declaration
public Dictionary<Triple, List<Triple>> Annotations { get; }
Property Value
Type | Description |
---|---|
Dictionary<Triple, List<Triple>> |
Collections
Represents the mapping from Blank Nodes to Collections.
Declaration
public Dictionary<INode, OutputRdfCollection> Collections { get; }
Property Value
Type | Description |
---|---|
Dictionary<INode, OutputRdfCollection> |
TriplesDone
Stores the Triples that should be excluded from standard output as they are part of collections or triple annotations.
Declaration
public BaseTripleCollection TriplesDone { get; }
Property Value
Type | Description |
---|---|
BaseTripleCollection |