Show / Hide Table of Contents

Class TriGWriterContext

Writer Context for TriG.

Inheritance
System.Object
BaseStoreWriterContext
ThreadedStoreWriterContext
TriGWriterContext
Implements
IStoreWriterContext
Inherited Members
ThreadedStoreWriterContext.NamespaceMap
ThreadedStoreWriterContext.QNameMapper
ThreadedStoreWriterContext.Add(Uri)
ThreadedStoreWriterContext.Add(IRefNode)
ThreadedStoreWriterContext.TryGetNextUri(out Uri)
ThreadedStoreWriterContext.TryGetNextGraphName(out IRefNode)
BaseStoreWriterContext._prettyPrint
BaseStoreWriterContext._hiSpeedAllowed
BaseStoreWriterContext.PrettyPrint
BaseStoreWriterContext.HighSpeedModePermitted
BaseStoreWriterContext.Store
BaseStoreWriterContext.Output
BaseStoreWriterContext.FormatUri(string)
BaseStoreWriterContext.FormatUri(Uri)
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 TriGWriterContext : ThreadedStoreWriterContext, IStoreWriterContext

Constructors

| Improve this Doc View Source

TriGWriterContext(ITripleStore, TextWriter, bool, bool, int, bool)

Creates a new TriG Writer context.

Declaration
public TriGWriterContext(ITripleStore store, TextWriter output, bool prettyPrint, bool hiSpeedAllowed, int compressionLevel, bool n3compatability)
Parameters
Type Name Description
ITripleStore store

Triple Store to save.

System.IO.TextWriter output

TextWriter to output to.

System.Boolean prettyPrint

Whether to use pretty printing.

System.Boolean hiSpeedAllowed

Whether high speed mode is permitted.

int compressionLevel

Compression Level to use.

System.Boolean n3compatability

Whether to enable N3 compatability mode.

Properties

| Improve this Doc View Source

CompressionLevel

Gets/Sets the Compression Level.

Declaration
public int CompressionLevel { get; set; }
Property Value
Type Description
int
| Improve this Doc View Source

N3CompatabilityMode

Gets/Sets N3 Compatability Mode.

Declaration
public bool N3CompatabilityMode { get; set; }
Property Value
Type Description
System.Boolean

Implements

IStoreWriterContext

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • TriGWriterContext(ITripleStore, TextWriter, bool, bool, int, bool)
  • Properties
    • CompressionLevel
    • N3CompatabilityMode
  • Implements
  • Extension Methods
Back to top Generated by DocFX