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
| Improve this Doc View SourceCompressingTurtleWriterContext(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. |
System.IO.TextWriter | output | TextWriter to write to. |
System.Boolean | prettyPrint | Pretty Print Mode. |
System.Boolean | hiSpeed | High Speed Mode. |
TurtleSyntax | syntax | Turtle Syntax. |
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. |
System.IO.TextWriter | output | TextWriter to write to. |
System.Boolean | prettyPrint | Pretty Print Mode. |
System.Boolean | 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. |
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. |
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. |
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. |
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. |
System.IO.TextWriter | output | TextWriter to write to. |
TurtleSyntax | syntax | Turtle Syntax. |
CompressingTurtleWriterContext(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. |
System.IO.TextWriter | output | TextWriter to write to. |
Properties
| Improve this Doc 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 |
---|---|
System.Collections.Generic.Dictionary<TKey, TValue><Triple, System.Collections.Generic.List<T><Triple>> |
Collections
Represents the mapping from Blank Nodes to Collections.
Declaration
public Dictionary<INode, OutputRdfCollection> Collections { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<TKey, TValue><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 |