Class TriGWriterContext
Writer Context for TriG.
Implements
Inherited Members
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 SourceTriGWriterContext(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 SourceCompressionLevel
Gets/Sets the Compression Level.
Declaration
public int CompressionLevel { get; set; }
Property Value
Type | Description |
---|---|
int |
N3CompatabilityMode
Gets/Sets N3 Compatability Mode.
Declaration
public bool N3CompatabilityMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |