Show / Hide Table of Contents

Class CompressingTurtleWriterContext

Writer Context for Compressing Turtle Writers.

Inheritance
System.Object
BaseWriterContext
TurtleWriterContext
CompressingTurtleWriterContext
Implements
ICollectionCompressingWriterContext
IAnnotationCompressingWriterContext
ICompressingWriterContext
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 CompressingTurtleWriterContext : TurtleWriterContext, ICollectionCompressingWriterContext, IAnnotationCompressingWriterContext, ICompressingWriterContext, IWriterContext

Constructors

| Improve this Doc View Source

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.

System.IO.TextWriter output

TextWriter to write to.

System.Boolean prettyPrint

Pretty Print Mode.

System.Boolean hiSpeed

High Speed Mode.

TurtleSyntax syntax

Turtle Syntax.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

Annotations

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>>
| Improve this Doc View Source

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>
| Improve this Doc View Source

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

Implements

ICollectionCompressingWriterContext
IAnnotationCompressingWriterContext
ICompressingWriterContext
IWriterContext

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • CompressingTurtleWriterContext(IGraph, TextWriter, bool, bool, TurtleSyntax)
    • CompressingTurtleWriterContext(IGraph, TextWriter, bool, bool)
    • CompressingTurtleWriterContext(IGraph, TextWriter, int, bool, bool, TurtleSyntax)
    • CompressingTurtleWriterContext(IGraph, TextWriter, int, bool, bool)
    • CompressingTurtleWriterContext(IGraph, TextWriter, TurtleSyntax)
    • CompressingTurtleWriterContext(IGraph, TextWriter)
  • Properties
    • Annotations
    • Collections
    • TriplesDone
  • Implements
  • Extension Methods
Back to top Generated by DocFX