Click or drag to resize

TurtleWriter Class

Note: This API is now obsolete.

Class for generating RDF in Turtle Syntax.
Inheritance Hierarchy

Namespace:  VDS.RDF.Writing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
[ObsoleteAttribute("Deprecated in favour of the CompressingTurtleWriter which uses a much fuller range of syntax compressions", 
	false)]
public class TurtleWriter : BaseRdfWriter, 
	IPrettyPrintingWriter, IHighSpeedWriter, IFormatterBasedWriter

The TurtleWriter type exposes the following members.

Constructors
  NameDescription
Public methodTurtleWriter
Creates a new Turtle Writer.
Public methodTurtleWriter(TurtleSyntax)
Creates a new Turtle Writer.
Top
Properties
  NameDescription
Public propertyHighSpeedModePermitted
Gets/Sets whether the Writer is allowed to use High Speed write mode.
Public propertyPrettyPrintMode
Gets/Sets whether Pretty Printing is used.
Public propertyTripleFormatterType
Gets the type of the Triple Formatter used by this writer.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave(IGraph, TextWriter)
Method for Saving a Graph to a Concrete RDF Syntax via some arbitrary TextWriter.
(Inherited from BaseRdfWriter.)
Public methodSave(IGraph, String)
Saves a Graph to a File.
(Overrides BaseRdfWriterSave(IGraph, String).)
Public methodSave(IGraph, TextWriter, Boolean)
Method for saving a graph to a concrete RDF syntax via some arbitray TextWriter.
(Inherited from BaseRdfWriter.)
Protected methodSaveInternal
Saves a Graph using an arbitrary TextWriter.
(Overrides BaseRdfWriterSaveInternal(IGraph, TextWriter).)
Public methodToString
Gets the String representation of the writer which is a description of the syntax it produces.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventWarning
Event which is raised when a non-fatal issue with the Graph being serialized is encountered
(Overrides BaseRdfWriterWarning.)
Top
Remarks
Similar in speed to the CompressingTurtleWriter but doesn't use the full Blank Node and Collection syntax compressions.
Thread Safety
Designed to be Thread Safe - should be able to call the Save() method from multiple threads on different Graphs without issue.
See Also