Show / Hide Table of Contents

Class CompressingTurtleWriterContext

Writer Context for Compressing Turtle Writers.

Inheritance
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

| Edit this page 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.

TextWriter output

TextWriter to write to.

| Edit this page 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.

TextWriter output

TextWriter to write to.

bool prettyPrint

Pretty Print Mode.

bool hiSpeed

High Speed Mode.

| Edit this page 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.

TextWriter output

TextWriter to write to.

bool prettyPrint

Pretty Print Mode.

bool hiSpeed

High Speed Mode.

TurtleSyntax syntax

Turtle Syntax.

| Edit this page 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.

TextWriter output

TextWriter to write to.

int compressionLevel

Compression Level to use.

bool prettyPrint

Pretty Print Mode.

bool hiSpeed

High Speed Mode.

| Edit this page 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.

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.

| Edit this page 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.

TextWriter output

TextWriter to write to.

TurtleSyntax syntax

Turtle Syntax.

Properties

| Edit this page 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
Dictionary<Triple, List<Triple>>
| Edit this page View Source

Collections

Represents the mapping from Blank Nodes to Collections.

Declaration
public Dictionary<INode, OutputRdfCollection> Collections { get; }
Property Value
Type Description
Dictionary<INode, OutputRdfCollection>
| Edit this page 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)
  • Edit this page
  • View Source
In this article
  • Constructors
    • CompressingTurtleWriterContext(IGraph, TextWriter)
    • CompressingTurtleWriterContext(IGraph, TextWriter, bool, bool)
    • CompressingTurtleWriterContext(IGraph, TextWriter, bool, bool, TurtleSyntax)
    • CompressingTurtleWriterContext(IGraph, TextWriter, int, bool, bool)
    • CompressingTurtleWriterContext(IGraph, TextWriter, int, bool, bool, TurtleSyntax)
    • CompressingTurtleWriterContext(IGraph, TextWriter, TurtleSyntax)
  • Properties
    • Annotations
    • Collections
    • TriplesDone
  • Implements
  • Extension Methods
Back to top Generated by DocFX